#[non_exhaustive]pub enum ResTy {
None,
Of([u8; 32]),
This,
}
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.
Trait Implementations§
Source§impl Ord for ResTy
impl Ord for ResTy
Source§impl PartialOrd for ResTy
impl PartialOrd for ResTy
impl Eq for ResTy
impl StructuralPartialEq for ResTy
Auto Trait Implementations§
impl Freeze for ResTy
impl RefUnwindSafe for ResTy
impl Send for ResTy
impl Sync for ResTy
impl Unpin for ResTy
impl UnwindSafe for ResTy
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