pub enum DiscoveryEnvelopeError {
MissingFlags,
PayloadTooShort,
MissingPlaintextOrStamp,
}Variants§
Trait Implementations§
Source§impl Debug for DiscoveryEnvelopeError
impl Debug for DiscoveryEnvelopeError
Source§impl Display for DiscoveryEnvelopeError
impl Display for DiscoveryEnvelopeError
impl Eq for DiscoveryEnvelopeError
Source§impl Error for DiscoveryEnvelopeError
Available on crate feature std only.
impl Error for DiscoveryEnvelopeError
Available on crate feature
std only.1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for DiscoveryEnvelopeError
impl PartialEq for DiscoveryEnvelopeError
impl StructuralPartialEq for DiscoveryEnvelopeError
Auto Trait Implementations§
impl Freeze for DiscoveryEnvelopeError
impl RefUnwindSafe for DiscoveryEnvelopeError
impl Send for DiscoveryEnvelopeError
impl Sync for DiscoveryEnvelopeError
impl Unpin for DiscoveryEnvelopeError
impl UnsafeUnpin for DiscoveryEnvelopeError
impl UnwindSafe for DiscoveryEnvelopeError
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