pub enum PermissionResult<'a> {
PermissionOk,
PermissionDenied(&'a str),
}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for PermissionResult<'a>
impl<'a> RefUnwindSafe for PermissionResult<'a>
impl<'a> Send for PermissionResult<'a>
impl<'a> Sync for PermissionResult<'a>
impl<'a> Unpin for PermissionResult<'a>
impl<'a> UnwindSafe for PermissionResult<'a>
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