pub enum Received {
Sys(Direction, SystemFrame),
Data(DataFrame),
}Expand description
A frame received from Inbound::recv: either a system frame (with its
travel direction) or a data frame (always downstream).
Variants§
Sys(Direction, SystemFrame)
A system frame and the direction it is travelling.
Data(DataFrame)
A data frame, implicitly travelling downstream.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Received
impl !UnwindSafe for Received
impl Freeze for Received
impl Send for Received
impl Sync for Received
impl Unpin for Received
impl UnsafeUnpin for Received
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