#[non_exhaustive]pub enum LARightState {
Unknown,
Authorizing,
Authorized,
NotAuthorized,
UnknownValue(i32),
}Expand description
Possible authorization states for a LARight.
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 LARightState
impl Clone for LARightState
Source§fn clone(&self) -> LARightState
fn clone(&self) -> LARightState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LARightState
Source§impl Debug for LARightState
impl Debug for LARightState
impl Eq for LARightState
Source§impl Hash for LARightState
impl Hash for LARightState
Source§impl PartialEq for LARightState
impl PartialEq for LARightState
Source§fn eq(&self, other: &LARightState) -> bool
fn eq(&self, other: &LARightState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LARightState
Auto Trait Implementations§
impl Freeze for LARightState
impl RefUnwindSafe for LARightState
impl Send for LARightState
impl Sync for LARightState
impl Unpin for LARightState
impl UnsafeUnpin for LARightState
impl UnwindSafe for LARightState
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