pub enum GuardError {
AppDisabled,
AppReadonly,
}Expand description
GuardError
Variants§
Trait Implementations§
Source§impl Debug for GuardError
impl Debug for GuardError
Source§impl Display for GuardError
impl Display for GuardError
Source§impl Error for GuardError
impl Error for GuardError
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<GuardError> for AccessError
impl From<GuardError> for AccessError
Source§fn from(source: GuardError) -> Self
fn from(source: GuardError) -> Self
Converts to this type from the input type.
Source§impl From<GuardError> for Error
impl From<GuardError> for Error
Source§fn from(err: GuardError) -> Self
fn from(err: GuardError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GuardError
impl RefUnwindSafe for GuardError
impl Send for GuardError
impl Sync for GuardError
impl Unpin for GuardError
impl UnwindSafe for GuardError
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