pub enum TryIntoSimpleError {
SubjectNotFound,
BodyNotFound,
}
Expand description
The error type returned when a conversion from a byte array to a simple encoded message fails.
This error is used as the error type for the TryFrom
implementation
for Simple
.
Variants§
Trait Implementations§
Source§impl Clone for TryIntoSimpleError
impl Clone for TryIntoSimpleError
Source§fn clone(&self) -> TryIntoSimpleError
fn clone(&self) -> TryIntoSimpleError
Returns a duplicate of the value. Read more
1.0.0 · 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 TryIntoSimpleError
impl Debug for TryIntoSimpleError
Source§impl Hash for TryIntoSimpleError
impl Hash for TryIntoSimpleError
Source§impl PartialEq for TryIntoSimpleError
impl PartialEq for TryIntoSimpleError
impl Eq for TryIntoSimpleError
impl StructuralPartialEq for TryIntoSimpleError
Auto Trait Implementations§
impl Freeze for TryIntoSimpleError
impl RefUnwindSafe for TryIntoSimpleError
impl Send for TryIntoSimpleError
impl Sync for TryIntoSimpleError
impl Unpin for TryIntoSimpleError
impl UnwindSafe for TryIntoSimpleError
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