pub enum GroupError {
Show 13 variants
Serialization(Error),
Crypto(SignatureError),
WireProtocol(Box<dyn Error>),
GroupNotFound(String),
MemberNotFound {
member: String,
group: String,
},
PermissionDenied(String),
InvalidEvent(String),
StateTransition(String),
InvalidGroupConfig(String),
CryptoError(String),
InvalidOperation(String),
SessionError(GroupSessionError),
MessageFullError(MessageFullError),
}Variants§
Serialization(Error)
Crypto(SignatureError)
WireProtocol(Box<dyn Error>)
GroupNotFound(String)
MemberNotFound
PermissionDenied(String)
InvalidEvent(String)
StateTransition(String)
InvalidGroupConfig(String)
CryptoError(String)
InvalidOperation(String)
SessionError(GroupSessionError)
MessageFullError(MessageFullError)
Trait Implementations§
Source§impl Debug for GroupError
impl Debug for GroupError
Source§impl Display for GroupError
impl Display for GroupError
Source§impl Error for GroupError
impl Error for GroupError
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<Error> for GroupError
impl From<Error> for GroupError
Source§impl From<Error> for GroupError
impl From<Error> for GroupError
Source§impl From<GroupSessionError> for GroupError
impl From<GroupSessionError> for GroupError
Source§fn from(source: GroupSessionError) -> Self
fn from(source: GroupSessionError) -> Self
Converts to this type from the input type.
Source§impl From<MessageFullError> for GroupError
impl From<MessageFullError> for GroupError
Source§fn from(source: MessageFullError) -> Self
fn from(source: MessageFullError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GroupError
impl !RefUnwindSafe for GroupError
impl !Send for GroupError
impl !Sync for GroupError
impl Unpin for GroupError
impl !UnwindSafe for GroupError
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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