pub struct InputFrame {
pub from: ConnId,
pub seq: u64,
pub item: Value,
pub bytes: u64,
}Expand description
One input frame as the transport hands it over: which connection sent
it, its seq, the item, and its size on the wire.
Fields§
§from: ConnId§seq: u64§item: Value§bytes: u64Implementations§
Trait Implementations§
Source§impl Clone for InputFrame
impl Clone for InputFrame
Auto Trait Implementations§
impl Freeze for InputFrame
impl RefUnwindSafe for InputFrame
impl Send for InputFrame
impl Sync for InputFrame
impl Unpin for InputFrame
impl UnsafeUnpin for InputFrame
impl UnwindSafe for InputFrame
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