pub enum PushReceiveOutcome {
Frame(PushedFrame),
Closed {
cause: PushCloseCause,
},
}Expand description
A frame or the terminal provenance of one blocking push reception.
Variants§
Frame(PushedFrame)
One pushed frame, removed from the bounded mailbox.
Closed
The connection no longer supplies pushes.
Fields
§
cause: PushCloseCauseWhy reception ended.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PushReceiveOutcome
impl RefUnwindSafe for PushReceiveOutcome
impl Send for PushReceiveOutcome
impl Sync for PushReceiveOutcome
impl Unpin for PushReceiveOutcome
impl UnsafeUnpin for PushReceiveOutcome
impl UnwindSafe for PushReceiveOutcome
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