pub enum ResourceDeniedReason {
SymlinkDenied,
DotfileDenied,
RootEscapeDenied,
PolicyDenied(PathRejection),
}Variants§
Trait Implementations§
Source§impl Debug for ResourceDeniedReason
impl Debug for ResourceDeniedReason
Source§impl Display for ResourceDeniedReason
impl Display for ResourceDeniedReason
Source§impl Error for ResourceDeniedReason
impl Error for ResourceDeniedReason
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<PathRejection> for ResourceDeniedReason
impl From<PathRejection> for ResourceDeniedReason
Source§fn from(rejection: PathRejection) -> Self
fn from(rejection: PathRejection) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ResourceDeniedReason
impl RefUnwindSafe for ResourceDeniedReason
impl Send for ResourceDeniedReason
impl Sync for ResourceDeniedReason
impl Unpin for ResourceDeniedReason
impl UnsafeUnpin for ResourceDeniedReason
impl UnwindSafe for ResourceDeniedReason
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