pub enum AugmentedMetadataError {
IdentityValidationFailed(String),
SizeLimitExceeded,
InvalidTimestamp(String),
ExpirationBeforeHandshake,
NoNegotiatedFunctions,
SerializationFailed(String),
}Expand description
Error type for augmented metadata operations.
Variants§
IdentityValidationFailed(String)
SizeLimitExceeded
InvalidTimestamp(String)
ExpirationBeforeHandshake
NoNegotiatedFunctions
SerializationFailed(String)
Trait Implementations§
Source§impl Clone for AugmentedMetadataError
impl Clone for AugmentedMetadataError
Source§fn clone(&self) -> AugmentedMetadataError
fn clone(&self) -> AugmentedMetadataError
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 moreSource§impl Debug for AugmentedMetadataError
impl Debug for AugmentedMetadataError
Source§impl Display for AugmentedMetadataError
impl Display for AugmentedMetadataError
impl Eq for AugmentedMetadataError
Source§impl Error for AugmentedMetadataError
impl Error for AugmentedMetadataError
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 AugmentedMetadataError
impl PartialEq for AugmentedMetadataError
Source§fn eq(&self, other: &AugmentedMetadataError) -> bool
fn eq(&self, other: &AugmentedMetadataError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AugmentedMetadataError
Auto Trait Implementations§
impl Freeze for AugmentedMetadataError
impl RefUnwindSafe for AugmentedMetadataError
impl Send for AugmentedMetadataError
impl Sync for AugmentedMetadataError
impl Unpin for AugmentedMetadataError
impl UnsafeUnpin for AugmentedMetadataError
impl UnwindSafe for AugmentedMetadataError
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