pub enum NoMatchingHint {
Core(CoreNoMatchHint),
Alias(AliasNoMatchHint),
}Expand description
Structured no-match hint for EncodeError::NoMatchingVariantHint.
Variants§
Core(CoreNoMatchHint)
Core matcher produced this hint.
Alias(AliasNoMatchHint)
Alias canonicalization produced this hint.
Trait Implementations§
Source§impl Clone for NoMatchingHint
impl Clone for NoMatchingHint
Source§fn clone(&self) -> NoMatchingHint
fn clone(&self) -> NoMatchingHint
Returns a duplicate 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 NoMatchingHint
impl Debug for NoMatchingHint
Source§impl PartialEq for NoMatchingHint
impl PartialEq for NoMatchingHint
impl Eq for NoMatchingHint
impl StructuralPartialEq for NoMatchingHint
Auto Trait Implementations§
impl Freeze for NoMatchingHint
impl RefUnwindSafe for NoMatchingHint
impl Send for NoMatchingHint
impl Sync for NoMatchingHint
impl Unpin for NoMatchingHint
impl UnsafeUnpin for NoMatchingHint
impl UnwindSafe for NoMatchingHint
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