pub enum Access {
ReadOnly,
WriteOnly,
ReadWrite,
}
Expand description
The operations allowed on a given VCP feature code.
Variants§
ReadOnly
The value can only be read from.
WriteOnly
The value can only be written to.
ReadWrite
The value is both readwritable.
Trait Implementations§
source§impl Ord for Access
impl Ord for Access
source§impl PartialEq<Access> for Access
impl PartialEq<Access> for Access
source§impl PartialOrd<Access> for Access
impl PartialOrd<Access> for Access
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Access
impl Eq for Access
impl StructuralEq for Access
impl StructuralPartialEq for Access
Auto Trait Implementations§
impl RefUnwindSafe for Access
impl Send for Access
impl Sync for Access
impl Unpin for Access
impl UnwindSafe for Access
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.