pub enum PeerInputDisposition {
Accept,
RejectNow,
Backpressure,
}Expand description
Whether a decoded peer item can be handed to the carrier immediately.
Variants§
Trait Implementations§
Source§impl Clone for PeerInputDisposition
impl Clone for PeerInputDisposition
Source§fn clone(&self) -> PeerInputDisposition
fn clone(&self) -> PeerInputDisposition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PeerInputDisposition
Source§impl Debug for PeerInputDisposition
impl Debug for PeerInputDisposition
impl Eq for PeerInputDisposition
Source§impl PartialEq for PeerInputDisposition
impl PartialEq for PeerInputDisposition
Source§fn eq(&self, other: &PeerInputDisposition) -> bool
fn eq(&self, other: &PeerInputDisposition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PeerInputDisposition
Auto Trait Implementations§
impl Freeze for PeerInputDisposition
impl RefUnwindSafe for PeerInputDisposition
impl Send for PeerInputDisposition
impl Sync for PeerInputDisposition
impl Unpin for PeerInputDisposition
impl UnsafeUnpin for PeerInputDisposition
impl UnwindSafe for PeerInputDisposition
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