pub enum PeerInput {
Item(IltpItem),
DiscardedRecord(usize),
}Expand description
One decoded peer input a connected host hands to the carrier.
Variants§
Item(IltpItem)
DiscardedRecord(usize)
A record item received under RecordIngress::Discard: validated
to its item boundary, its whole item’s bytes counted, its record
dropped.
Trait Implementations§
impl Eq for PeerInput
impl StructuralPartialEq for PeerInput
Auto Trait Implementations§
impl Freeze for PeerInput
impl RefUnwindSafe for PeerInput
impl Send for PeerInput
impl Sync for PeerInput
impl Unpin for PeerInput
impl UnsafeUnpin for PeerInput
impl UnwindSafe for PeerInput
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