pub enum Error {
IOError(IOError),
BounceBufferAllocationError,
PeerMisbehaviorError(PeerMisbehaviorError),
}
Variants§
Trait Implementations§
Source§impl From<Error> for ErrorOrUserError
impl From<Error> for ErrorOrUserError
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 Error
impl From<PeerMisbehaviorError> for Error
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 Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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
)