Struct cap_primitives::fs::AccessModes
source · pub struct AccessModes {
pub readable: bool,
pub writable: bool,
pub executable: bool,
}
Expand description
Access modes for use with [DirExt::access
].
Fields§
§readable: bool
Is the object readable?
writable: bool
Is the object writable?
executable: bool
Is the object executable?
Trait Implementations§
source§impl Clone for AccessModes
impl Clone for AccessModes
source§fn clone(&self) -> AccessModes
fn clone(&self) -> AccessModes
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AccessModes
impl Debug for AccessModes
impl Copy for AccessModes
Auto Trait Implementations§
impl Freeze for AccessModes
impl RefUnwindSafe for AccessModes
impl Send for AccessModes
impl Sync for AccessModes
impl Unpin for AccessModes
impl UnwindSafe for AccessModes
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)