pub enum DhtError {
ReadTimeoutEarly,
ReadTimeoutData,
ChecksumMismatch,
}
Expand description
Reason that reading from the Dht failed. See individual errors for explanations. All of these can generally be retried.
Variants§
ReadTimeoutEarly
A timeout happened before data transmission started
ReadTimeoutData
A timeout happened during data transmission
ChecksumMismatch
The data received does not match the checksum - there likely was some transmission error
Trait Implementations§
impl Copy for DhtError
impl StructuralPartialEq for DhtError
Auto Trait Implementations§
impl Freeze for DhtError
impl RefUnwindSafe for DhtError
impl Send for DhtError
impl Sync for DhtError
impl Unpin for DhtError
impl UnwindSafe for DhtError
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