pub enum CreateTargetedMessageError {
RecipientNotFound,
GroupNotActive,
LibraryError(LibraryError),
}Available on crate feature
targeted-messages-draft only.Expand description
Error creating a targeted message.
Variants§
RecipientNotFound
The recipient’s leaf index is not in the group tree.
GroupNotActive
The group is not active.
LibraryError(LibraryError)
A library error occurred.
Trait Implementations§
Source§impl Debug for CreateTargetedMessageError
impl Debug for CreateTargetedMessageError
Source§impl Display for CreateTargetedMessageError
impl Display for CreateTargetedMessageError
Source§impl Error for CreateTargetedMessageError
impl Error for CreateTargetedMessageError
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<LibraryError> for CreateTargetedMessageError
impl From<LibraryError> for CreateTargetedMessageError
Source§fn from(source: LibraryError) -> Self
fn from(source: LibraryError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CreateTargetedMessageError
Available on 32-bit or 64-bit only.
impl RefUnwindSafe for CreateTargetedMessageError
Available on 32-bit or 64-bit only.
impl Send for CreateTargetedMessageError
Available on 32-bit or 64-bit only.
impl Sync for CreateTargetedMessageError
Available on 32-bit or 64-bit only.
impl Unpin for CreateTargetedMessageError
Available on 32-bit or 64-bit only.
impl UnsafeUnpin for CreateTargetedMessageError
Available on 32-bit or 64-bit only.
impl UnwindSafe for CreateTargetedMessageError
Available on 32-bit or 64-bit only.
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Available on 32-bit or 64-bit only.
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Available on 32-bit or 64-bit only.
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
Available on 32-bit or 64-bit only.
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Available on 32-bit or 64-bit only.
§impl<T> Classify for T
Available on 32-bit or 64-bit only.
impl<T> Classify for T
Available on 32-bit or 64-bit only.
type Classified = T
fn classify(self) -> T
§impl<T> Declassify for T
Available on 32-bit or 64-bit only.
impl<T> Declassify for T
Available on 32-bit or 64-bit only.
type Declassified = T
fn declassify(self) -> T
Source§impl<T> IntoEither for T
Available on 32-bit or 64-bit only.
impl<T> IntoEither for T
Available on 32-bit or 64-bit only.
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
Available on 32-bit or 64-bit only.
impl<T> Pointable for T
Available on 32-bit or 64-bit only.
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Available on 32-bit or 64-bit only.
Source§impl<S, T> Upcast<T> for S
Available on 32-bit or 64-bit only.
impl<S, T> Upcast<T> for S
Available on 32-bit or 64-bit only.