pub enum PeerMisbehaviorError {
DescriptorMismatch,
OutOfBoundsCookie,
StateMismatch,
SharedRingBuffersPeerMisbehaviorError(PeerMisbehaviorError),
}
Variants§
Trait Implementations§
Source§impl Clone for PeerMisbehaviorError
impl Clone for PeerMisbehaviorError
Source§fn clone(&self) -> PeerMisbehaviorError
fn clone(&self) -> PeerMisbehaviorError
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PeerMisbehaviorError
impl Debug for PeerMisbehaviorError
Source§impl From<PeerMisbehaviorError> for Error
impl From<PeerMisbehaviorError> for Error
Source§fn from(err: PeerMisbehaviorError) -> Self
fn from(err: PeerMisbehaviorError) -> Self
Converts to this type from the input type.
Source§impl From<PeerMisbehaviorError> for PeerMisbehaviorError
impl From<PeerMisbehaviorError> for PeerMisbehaviorError
Source§fn from(err: SharedRingBuffersPeerMisbehaviorError) -> Self
fn from(err: SharedRingBuffersPeerMisbehaviorError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PeerMisbehaviorError
impl RefUnwindSafe for PeerMisbehaviorError
impl Send for PeerMisbehaviorError
impl Sync for PeerMisbehaviorError
impl Unpin for PeerMisbehaviorError
impl UnwindSafe for PeerMisbehaviorError
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)