#[non_exhaustive]pub enum TryFastEncode<T, E>where
E: Encoder,{
Ok,
Unsupported(T, E),
}Expand description
An outcome of a fast encode attempt.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Auto Trait Implementations§
impl<T, E> Freeze for TryFastEncode<T, E>
impl<T, E> RefUnwindSafe for TryFastEncode<T, E>where
T: RefUnwindSafe,
E: RefUnwindSafe,
impl<T, E> Send for TryFastEncode<T, E>
impl<T, E> Sync for TryFastEncode<T, E>
impl<T, E> Unpin for TryFastEncode<T, E>
impl<T, E> UnwindSafe for TryFastEncode<T, E>where
T: UnwindSafe,
E: UnwindSafe,
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