pub struct InputFrame<I = Value> {
pub from: ConnId,
pub seq: u64,
pub item: I,
pub items: u64,
pub bytes: u64,
pub overrun: Option<Overrun>,
}Expand description
One input frame as the transport hands it over: which connection sent
it, its seq, what it holds, how many items that is, and their size on
the wire.
Fields§
§from: ConnId§seq: u64§item: I§items: u64Items in the frame: what credit counts.
bytes: u64§overrun: Option<Overrun>Some: the transport refused it on arrival.
Implementations§
Trait Implementations§
Source§impl<I: Clone> Clone for InputFrame<I>
impl<I: Clone> Clone for InputFrame<I>
Auto Trait Implementations§
impl<I> Forget for InputFrame<I>
impl<I> Freeze for InputFrame<I>where
I: Freeze,
impl<I> RefUnwindSafe for InputFrame<I>where
I: RefUnwindSafe,
impl<I> Send for InputFrame<I>where
I: Send,
impl<I> Sync for InputFrame<I>where
I: Sync,
impl<I> Unpin for InputFrame<I>where
I: Unpin,
impl<I> UnsafeUnpin for InputFrame<I>where
I: UnsafeUnpin,
impl<I> UnwindSafe for InputFrame<I>where
I: UnwindSafe,
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