pub struct ParseOutcome<T> { /* private fields */ }
Implementations§
Source§impl<T> ParseOutcome<T>
impl<T> ParseOutcome<T>
Trait Implementations§
Source§impl<T> Borrow<T> for ParseOutcome<T>
impl<T> Borrow<T> for ParseOutcome<T>
Source§impl<T> BorrowMut<T> for ParseOutcome<T>
impl<T> BorrowMut<T> for ParseOutcome<T>
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Clone for ParseOutcome<T>where
T: Clone,
impl<T> Clone for ParseOutcome<T>where
T: Clone,
Source§impl<T: Debug> Debug for ParseOutcome<T>
impl<T: Debug> Debug for ParseOutcome<T>
Source§impl<T> Default for ParseOutcome<T>where
T: Default,
impl<T> Default for ParseOutcome<T>where
T: Default,
Source§impl<'de, T> Deserialize<'de> for ParseOutcome<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for ParseOutcome<T>where
T: Deserialize<'de>,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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<T> From<ParseOutcome<T>> for (T, Vec<ParseError>)
impl<T> From<ParseOutcome<T>> for (T, Vec<ParseError>)
Source§fn from(outcome: ParseOutcome<T>) -> (T, Vec<ParseError>)
fn from(outcome: ParseOutcome<T>) -> (T, Vec<ParseError>)
Converts to this type from the input type.
Source§impl<T: PartialEq> PartialEq for ParseOutcome<T>
impl<T: PartialEq> PartialEq for ParseOutcome<T>
Source§impl<T> Serialize for ParseOutcome<T>where
T: Serialize,
impl<T> Serialize for ParseOutcome<T>where
T: Serialize,
impl<T: Eq> Eq for ParseOutcome<T>
impl<T> StructuralPartialEq for ParseOutcome<T>
Auto Trait Implementations§
impl<T> Freeze for ParseOutcome<T>where
T: Freeze,
impl<T> RefUnwindSafe for ParseOutcome<T>where
T: RefUnwindSafe,
impl<T> Send for ParseOutcome<T>where
T: Send,
impl<T> Sync for ParseOutcome<T>where
T: Sync,
impl<T> Unpin for ParseOutcome<T>where
T: Unpin,
impl<T> UnwindSafe for ParseOutcome<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
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