Struct SequenceSet

Source
pub struct SequenceSet(pub NonEmptyVec<Sequence>);

Tuple Fields§

§0: NonEmptyVec<Sequence>

Implementations§

Source§

impl<'a> SequenceSet

Source

pub fn iter( &'a self, strategy: Strategy, ) -> impl Iterator<Item = NonZeroU32> + 'a

Trait Implementations§

Source§

impl<'arbitrary> Arbitrary<'arbitrary> for SequenceSet

Source§

fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>

Generate an arbitrary value of Self from the given unstructured data. Read more
Source§

fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
Source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type needs to construct itself. Read more
Source§

fn try_size_hint( depth: usize, ) -> Result<(usize, Option<usize>), MaxRecursionReached>

Get a size hint for how many bytes out of an Unstructured this type needs to construct itself. Read more
Source§

impl Clone for SequenceSet

Source§

fn clone(&self) -> SequenceSet

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SequenceSet

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for SequenceSet

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl From<NonZero<u32>> for SequenceSet

Source§

fn from(value: NonZeroU32) -> Self

Converts to this type from the input type.
Source§

impl From<RangeFrom<NonZero<u32>>> for SequenceSet

Source§

fn from(value: RangeFrom<NonZeroU32>) -> Self

Converts to this type from the input type.
Source§

impl From<RangeFull> for SequenceSet

Source§

fn from(value: RangeFull) -> Self

Converts to this type from the input type.
Source§

impl From<RangeInclusive<NonZero<u32>>> for SequenceSet

Source§

fn from(value: RangeInclusive<NonZeroU32>) -> Self

Converts to this type from the input type.
Source§

impl From<RangeToInclusive<NonZero<u32>>> for SequenceSet

Source§

fn from(value: RangeToInclusive<NonZeroU32>) -> Self

Converts to this type from the input type.
Source§

impl From<SeqOrUid> for SequenceSet

Source§

fn from(value: SeqOrUid) -> Self

Converts to this type from the input type.
Source§

impl From<Sequence> for SequenceSet

Source§

fn from(sequence: Sequence) -> Self

Converts to this type from the input type.
Source§

impl FromStr for SequenceSet

Source§

type Err = ValidationError

The associated error which can be returned from parsing.
Source§

fn from_str(value: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
Source§

impl Hash for SequenceSet

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl IntoBoundedStatic for SequenceSet

Source§

type Static = SequenceSet

The target type is bounded by the 'static lifetime.
Source§

fn into_static(self) -> Self::Static

Convert an owned T into an owned T such that T: 'static.
Source§

impl PartialEq for SequenceSet

Source§

fn eq(&self, other: &SequenceSet) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for SequenceSet

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl ToBoundedStatic for SequenceSet

Source§

type Static = SequenceSet

The target type is bounded by the 'static lifetime.
Source§

fn to_static(&self) -> Self::Static

Convert an &T to an owned T such that T: 'static.
Source§

impl TryFrom<&[i16]> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(values: &[i16]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&[i32]> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(values: &[i32]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&[i64]> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(values: &[i64]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&[i8]> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(values: &[i8]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&[isize]> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(values: &[isize]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&[u16]> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(values: &[u16]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&[u32]> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(values: &[u32]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&[u64]> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(values: &[u64]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&[u8]> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(values: &[u8]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&[usize]> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(values: &[usize]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&str> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(value: &str) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Range<NonZero<u32>>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(value: Range<NonZeroU32>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Range<i16>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: Range<i16>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Range<i32>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: Range<i32>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Range<i64>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: Range<i64>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Range<i8>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: Range<i8>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Range<isize>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: Range<isize>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Range<u16>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: Range<u16>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Range<u32>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: Range<u32>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Range<u64>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: Range<u64>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Range<u8>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: Range<u8>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Range<usize>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: Range<usize>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeFrom<i16>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeFrom<i16>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeFrom<i32>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeFrom<i32>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeFrom<i64>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeFrom<i64>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeFrom<i8>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeFrom<i8>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeFrom<isize>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeFrom<isize>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeFrom<u16>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeFrom<u16>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeFrom<u32>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeFrom<u32>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeFrom<u64>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeFrom<u64>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeFrom<u8>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeFrom<u8>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeFrom<usize>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeFrom<usize>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeInclusive<i16>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeInclusive<i16>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeInclusive<i32>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeInclusive<i32>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeInclusive<i64>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeInclusive<i64>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeInclusive<i8>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeInclusive<i8>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeInclusive<isize>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeInclusive<isize>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeInclusive<u16>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeInclusive<u16>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeInclusive<u32>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeInclusive<u32>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeInclusive<u64>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeInclusive<u64>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeInclusive<u8>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeInclusive<u8>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeInclusive<usize>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeInclusive<usize>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeTo<NonZero<u32>>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(value: RangeTo<NonZeroU32>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeTo<i16>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeTo<i16>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeTo<i32>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeTo<i32>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeTo<i64>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeTo<i64>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeTo<i8>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeTo<i8>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeTo<isize>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeTo<isize>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeTo<u16>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeTo<u16>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeTo<u32>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeTo<u32>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeTo<u64>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeTo<u64>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeTo<u8>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeTo<u8>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeTo<usize>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeTo<usize>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeToInclusive<i16>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeToInclusive<i16>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeToInclusive<i32>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeToInclusive<i32>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeToInclusive<i64>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeToInclusive<i64>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeToInclusive<i8>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeToInclusive<i8>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeToInclusive<isize>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeToInclusive<isize>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeToInclusive<u16>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeToInclusive<u16>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeToInclusive<u32>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeToInclusive<u32>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeToInclusive<u64>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeToInclusive<u64>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeToInclusive<u8>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeToInclusive<u8>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<RangeToInclusive<usize>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(range: RangeToInclusive<usize>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Vec<NonZero<u32>>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(sequences: Vec<NonZeroU32>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Vec<Sequence>> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(sequences: Vec<Sequence>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i16> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(value: i16) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i32> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(value: i32) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i64> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(value: i64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i8> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(value: i8) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<isize> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(value: isize) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u16> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(value: u16) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u32> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(value: u32) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u64> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(value: u64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u8> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(value: u8) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<usize> for SequenceSet

Source§

type Error = ValidationError

The type returned in the event of a conversion error.
Source§

fn try_from(value: usize) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl Eq for SequenceSet

Source§

impl StructuralPartialEq for SequenceSet

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,