pub enum GroupSecretError {
InvalidKeySize,
Rng(RngError),
Encode(EncodeError),
Decode(DecodeError),
SystemTime(SystemTimeError),
}
Variants§
Trait Implementations§
Source§impl Debug for GroupSecretError
impl Debug for GroupSecretError
Source§impl Display for GroupSecretError
impl Display for GroupSecretError
Source§impl Error for GroupSecretError
impl Error for GroupSecretError
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 From<DecodeError> for GroupSecretError
impl From<DecodeError> for GroupSecretError
Source§fn from(source: DecodeError) -> Self
fn from(source: DecodeError) -> Self
Converts to this type from the input type.
Source§impl From<EncodeError> for GroupSecretError
impl From<EncodeError> for GroupSecretError
Source§fn from(source: EncodeError) -> Self
fn from(source: EncodeError) -> Self
Converts to this type from the input type.
Source§impl<ID, OP, PKI, DGM, KMG> From<GroupSecretError> for DcgkaError<ID, OP, PKI, DGM, KMG>where
PKI: IdentityRegistry<ID, PKI::State> + PreKeyRegistry<ID, LongTermKeyBundle>,
DGM: GroupMembership<ID, OP>,
KMG: PreKeyManager,
impl<ID, OP, PKI, DGM, KMG> From<GroupSecretError> for DcgkaError<ID, OP, PKI, DGM, KMG>where
PKI: IdentityRegistry<ID, PKI::State> + PreKeyRegistry<ID, LongTermKeyBundle>,
DGM: GroupMembership<ID, OP>,
KMG: PreKeyManager,
Source§fn from(source: GroupSecretError) -> Self
fn from(source: GroupSecretError) -> Self
Converts to this type from the input type.
Source§impl<ID, OP, PKI, DGM, KMG, ORD> From<GroupSecretError> for GroupError<ID, OP, PKI, DGM, KMG, ORD>where
PKI: IdentityRegistry<ID, PKI::State> + PreKeyRegistry<ID, LongTermKeyBundle>,
DGM: GroupMembership<ID, OP>,
KMG: PreKeyManager,
ORD: Ordering<ID, OP, DGM>,
impl<ID, OP, PKI, DGM, KMG, ORD> From<GroupSecretError> for GroupError<ID, OP, PKI, DGM, KMG, ORD>where
PKI: IdentityRegistry<ID, PKI::State> + PreKeyRegistry<ID, LongTermKeyBundle>,
DGM: GroupMembership<ID, OP>,
KMG: PreKeyManager,
ORD: Ordering<ID, OP, DGM>,
Source§fn from(source: GroupSecretError) -> Self
fn from(source: GroupSecretError) -> Self
Converts to this type from the input type.
Source§impl From<RngError> for GroupSecretError
impl From<RngError> for GroupSecretError
Source§impl From<SystemTimeError> for GroupSecretError
impl From<SystemTimeError> for GroupSecretError
Source§fn from(source: SystemTimeError) -> Self
fn from(source: SystemTimeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GroupSecretError
impl !RefUnwindSafe for GroupSecretError
impl Send for GroupSecretError
impl Sync for GroupSecretError
impl Unpin for GroupSecretError
impl !UnwindSafe for GroupSecretError
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