pub enum GuardAccessError {
AppDisabled,
AppReadonly,
}Expand description
GuardAccessError Access errors raised by application state guards.
Variants§
Trait Implementations§
Source§impl Debug for GuardAccessError
impl Debug for GuardAccessError
Source§impl Display for GuardAccessError
impl Display for GuardAccessError
Source§impl Error for GuardAccessError
impl Error for GuardAccessError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<GuardAccessError> for AccessError
impl From<GuardAccessError> for AccessError
Source§fn from(source: GuardAccessError) -> Self
fn from(source: GuardAccessError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GuardAccessError
impl RefUnwindSafe for GuardAccessError
impl Send for GuardAccessError
impl Sync for GuardAccessError
impl Unpin for GuardAccessError
impl UnwindSafe for GuardAccessError
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