Enum imap_codec::sequence::Sequence
source · pub enum Sequence {
Single(SeqOrUid),
Range(SeqOrUid, SeqOrUid),
}
Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Sequence
impl<'arbitrary> Arbitrary<'arbitrary> for Sequence
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Sequence, Error>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Sequence, Error>
Generate an arbitrary value of
Self
from the given unstructured data. Read moresource§impl<'de> Deserialize<'de> for Sequence
impl<'de> Deserialize<'de> for Sequence
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<Sequence, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<Sequence, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<NonZeroU32> for Sequence
impl From<NonZeroU32> for Sequence
source§fn from(value: NonZeroU32) -> Sequence
fn from(value: NonZeroU32) -> Sequence
Converts to this type from the input type.
source§impl From<RangeInclusive<NonZeroU32>> for Sequence
impl From<RangeInclusive<NonZeroU32>> for Sequence
source§fn from(range: RangeInclusive<NonZeroU32>) -> Sequence
fn from(range: RangeInclusive<NonZeroU32>) -> Sequence
Converts to this type from the input type.
source§impl From<RangeToInclusive<NonZeroU32>> for Sequence
impl From<RangeToInclusive<NonZeroU32>> for Sequence
source§fn from(range: RangeToInclusive<NonZeroU32>) -> Sequence
fn from(range: RangeToInclusive<NonZeroU32>) -> Sequence
Converts to this type from the input type.
source§impl From<Sequence> for SequenceSet
impl From<Sequence> for SequenceSet
source§fn from(sequence: Sequence) -> SequenceSet
fn from(sequence: Sequence) -> SequenceSet
Converts to this type from the input type.
source§impl IntoBoundedStatic for Sequence
impl IntoBoundedStatic for Sequence
source§fn into_static(self) -> <Sequence as IntoBoundedStatic>::Static
fn into_static(self) -> <Sequence as IntoBoundedStatic>::Static
Convert an owned
T
into an owned T
such that T: 'static
.source§impl PartialEq<Sequence> for Sequence
impl PartialEq<Sequence> for Sequence
source§impl Serialize for Sequence
impl Serialize for Sequence
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§impl ToBoundedStatic for Sequence
impl ToBoundedStatic for Sequence
source§impl TryFrom<Range<NonZeroU32>> for Sequence
impl TryFrom<Range<NonZeroU32>> for Sequence
§type Error = SequenceError
type Error = SequenceError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeInclusive<i16>> for Sequence
impl TryFrom<RangeInclusive<i16>> for Sequence
§type Error = SequenceError
type Error = SequenceError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeInclusive<i32>> for Sequence
impl TryFrom<RangeInclusive<i32>> for Sequence
§type Error = SequenceError
type Error = SequenceError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeInclusive<i64>> for Sequence
impl TryFrom<RangeInclusive<i64>> for Sequence
§type Error = SequenceError
type Error = SequenceError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeInclusive<i8>> for Sequence
impl TryFrom<RangeInclusive<i8>> for Sequence
§type Error = SequenceError
type Error = SequenceError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeInclusive<isize>> for Sequence
impl TryFrom<RangeInclusive<isize>> for Sequence
§type Error = SequenceError
type Error = SequenceError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeInclusive<u16>> for Sequence
impl TryFrom<RangeInclusive<u16>> for Sequence
§type Error = SequenceError
type Error = SequenceError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeInclusive<u32>> for Sequence
impl TryFrom<RangeInclusive<u32>> for Sequence
§type Error = SequenceError
type Error = SequenceError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeInclusive<u64>> for Sequence
impl TryFrom<RangeInclusive<u64>> for Sequence
§type Error = SequenceError
type Error = SequenceError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeInclusive<u8>> for Sequence
impl TryFrom<RangeInclusive<u8>> for Sequence
§type Error = SequenceError
type Error = SequenceError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeInclusive<usize>> for Sequence
impl TryFrom<RangeInclusive<usize>> for Sequence
§type Error = SequenceError
type Error = SequenceError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeTo<NonZeroU32>> for Sequence
impl TryFrom<RangeTo<NonZeroU32>> for Sequence
§type Error = SequenceError
type Error = SequenceError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeToInclusive<i16>> for Sequence
impl TryFrom<RangeToInclusive<i16>> for Sequence
§type Error = SequenceError
type Error = SequenceError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeToInclusive<i32>> for Sequence
impl TryFrom<RangeToInclusive<i32>> for Sequence
§type Error = SequenceError
type Error = SequenceError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeToInclusive<i64>> for Sequence
impl TryFrom<RangeToInclusive<i64>> for Sequence
§type Error = SequenceError
type Error = SequenceError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeToInclusive<i8>> for Sequence
impl TryFrom<RangeToInclusive<i8>> for Sequence
§type Error = SequenceError
type Error = SequenceError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeToInclusive<isize>> for Sequence
impl TryFrom<RangeToInclusive<isize>> for Sequence
§type Error = SequenceError
type Error = SequenceError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeToInclusive<u16>> for Sequence
impl TryFrom<RangeToInclusive<u16>> for Sequence
§type Error = SequenceError
type Error = SequenceError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeToInclusive<u32>> for Sequence
impl TryFrom<RangeToInclusive<u32>> for Sequence
§type Error = SequenceError
type Error = SequenceError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeToInclusive<u64>> for Sequence
impl TryFrom<RangeToInclusive<u64>> for Sequence
§type Error = SequenceError
type Error = SequenceError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeToInclusive<u8>> for Sequence
impl TryFrom<RangeToInclusive<u8>> for Sequence
§type Error = SequenceError
type Error = SequenceError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeToInclusive<usize>> for Sequence
impl TryFrom<RangeToInclusive<usize>> for Sequence
§type Error = SequenceError
type Error = SequenceError
The type returned in the event of a conversion error.
impl Eq for Sequence
impl StructuralEq for Sequence
impl StructuralPartialEq for Sequence
Auto Trait Implementations§
impl RefUnwindSafe for Sequence
impl Send for Sequence
impl Sync for Sequence
impl Unpin for Sequence
impl UnwindSafe for Sequence
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