pub enum ReadOnlyKind {
Acl,
Attribute,
Owner,
Share,
}Expand description
Why this account cannot write a file or folder.
Variants§
Acl
Access denied by the permissions (a Windows ACL, a POSIX ACL).
Attribute
The read-only attribute (Windows), or no write bit for the owner (Unix).
Owner
Unix: owned by another user, with no write permission for this one.
A network share that denies writing, a read-only mount or write-protected media.
Implementations§
Trait Implementations§
Source§impl Clone for ReadOnlyKind
impl Clone for ReadOnlyKind
impl Copy for ReadOnlyKind
Source§impl Debug for ReadOnlyKind
impl Debug for ReadOnlyKind
Source§impl<'de> Deserialize<'de> for ReadOnlyKind
impl<'de> Deserialize<'de> for ReadOnlyKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ReadOnlyKind
impl Display for ReadOnlyKind
impl Eq for ReadOnlyKind
Source§impl Hash for ReadOnlyKind
impl Hash for ReadOnlyKind
Source§impl PartialEq for ReadOnlyKind
impl PartialEq for ReadOnlyKind
Source§impl Serialize for ReadOnlyKind
impl Serialize for ReadOnlyKind
impl StructuralPartialEq for ReadOnlyKind
Auto Trait Implementations§
impl Forget for ReadOnlyKind
impl Freeze for ReadOnlyKind
impl Move for ReadOnlyKind
impl RefUnwindSafe for ReadOnlyKind
impl Send for ReadOnlyKind
impl Sync for ReadOnlyKind
impl Unpin for ReadOnlyKind
impl UnsafeUnpin for ReadOnlyKind
impl UnwindSafe for ReadOnlyKind
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.