Enum imap_types::sequence::SequenceError
source · pub enum SequenceError {
Empty,
Invalid,
SeqOrUid(SeqOrUidError),
}
Variants§
Trait Implementations§
source§impl Clone for SequenceError
impl Clone for SequenceError
source§fn clone(&self) -> SequenceError
fn clone(&self) -> SequenceError
Returns a copy 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 SequenceError
impl Debug for SequenceError
source§impl Display for SequenceError
impl Display for SequenceError
source§impl Error for SequenceError
impl Error for SequenceError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<SeqOrUidError> for SequenceError
impl From<SeqOrUidError> for SequenceError
source§fn from(source: SeqOrUidError) -> Self
fn from(source: SeqOrUidError) -> Self
Converts to this type from the input type.
source§impl From<SequenceError> for SequenceSetError
impl From<SequenceError> for SequenceSetError
source§fn from(source: SequenceError) -> Self
fn from(source: SequenceError) -> Self
Converts to this type from the input type.
source§impl PartialEq<SequenceError> for SequenceError
impl PartialEq<SequenceError> for SequenceError
source§fn eq(&self, other: &SequenceError) -> bool
fn eq(&self, other: &SequenceError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SequenceError
impl StructuralEq for SequenceError
impl StructuralPartialEq for SequenceError
Auto Trait Implementations§
impl RefUnwindSafe for SequenceError
impl Send for SequenceError
impl Sync for SequenceError
impl Unpin for SequenceError
impl UnwindSafe for SequenceError
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