#[non_exhaustive]pub enum InvalidGrantor {
Other(String),
}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.
Implementations§
Trait Implementations§
Source§impl Clone for InvalidGrantor
impl Clone for InvalidGrantor
Source§fn clone(&self) -> InvalidGrantor
fn clone(&self) -> InvalidGrantor
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 InvalidGrantor
impl Debug for InvalidGrantor
Source§impl FromStr for InvalidGrantor
impl FromStr for InvalidGrantor
Source§impl Hash for InvalidGrantor
impl Hash for InvalidGrantor
Source§impl PartialEq for InvalidGrantor
impl PartialEq for InvalidGrantor
impl Eq for InvalidGrantor
impl StructuralPartialEq for InvalidGrantor
Auto Trait Implementations§
impl Freeze for InvalidGrantor
impl RefUnwindSafe for InvalidGrantor
impl Send for InvalidGrantor
impl Sync for InvalidGrantor
impl Unpin for InvalidGrantor
impl UnwindSafe for InvalidGrantor
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