pub enum WriteAccess {
Writable,
ReadOnly(ReadOnlyKind),
Unknown,
}Expand description
What a probe found.
Variants§
Writable
ReadOnly(ReadOnlyKind)
Unknown
The probe could not tell (no answer in time, a sharing violation, a view that cannot probe). Counts as writable.
Implementations§
Source§impl WriteAccess
impl WriteAccess
pub const fn read_only(self) -> Option<ReadOnlyKind>
Trait Implementations§
Source§impl Clone for WriteAccess
impl Clone for WriteAccess
impl Copy for WriteAccess
Source§impl Debug for WriteAccess
impl Debug for WriteAccess
impl Eq for WriteAccess
Source§impl Hash for WriteAccess
impl Hash for WriteAccess
Source§impl PartialEq for WriteAccess
impl PartialEq for WriteAccess
impl StructuralPartialEq for WriteAccess
Auto Trait Implementations§
impl Forget for WriteAccess
impl Freeze for WriteAccess
impl Move for WriteAccess
impl RefUnwindSafe for WriteAccess
impl Send for WriteAccess
impl Sync for WriteAccess
impl Unpin for WriteAccess
impl UnsafeUnpin for WriteAccess
impl UnwindSafe for WriteAccess
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§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.