#[non_exhaustive]pub enum SendStatus {
Accepted,
ReceivePending,
}Expand description
What send did with an input.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Accepted
Ownership moved (the packet is taken, or the frame handle was cloned).
ReceivePending
Receive output first, then retry the unchanged input. At least one
receive after this returns Ready.
Trait Implementations§
Source§impl Clone for SendStatus
impl Clone for SendStatus
Source§fn clone(&self) -> SendStatus
fn clone(&self) -> SendStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SendStatus
Source§impl Debug for SendStatus
impl Debug for SendStatus
impl Eq for SendStatus
Source§impl PartialEq for SendStatus
impl PartialEq for SendStatus
impl StructuralPartialEq for SendStatus
Auto Trait Implementations§
impl Freeze for SendStatus
impl RefUnwindSafe for SendStatus
impl Send for SendStatus
impl Sync for SendStatus
impl Unpin for SendStatus
impl UnsafeUnpin for SendStatus
impl UnwindSafe for SendStatus
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more