pub enum AccessClass {
ReadOnce,
Snapshot,
Poll,
Write,
Sequence,
Protocol,
Interrupt,
}Expand description
Access classes distinguished by policy. A grant for one class never authorizes another: a one-shot read grant does not authorize polling.
Variants§
ReadOnce
A single 32-bit read.
Snapshot
A read performed as part of a bounded snapshot.
Poll
A repeated bounded read.
Write
A masked write.
Sequence
An operation within a bounded sequence.
Protocol
An operation on a protocol-backed resource (GPIO, I2C, SPI).
Interrupt
An interrupt observation.
Trait Implementations§
Source§impl Clone for AccessClass
impl Clone for AccessClass
impl Copy for AccessClass
Source§impl Debug for AccessClass
impl Debug for AccessClass
impl Eq for AccessClass
Source§impl Ord for AccessClass
impl Ord for AccessClass
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for AccessClass
impl PartialEq for AccessClass
Source§impl PartialOrd for AccessClass
impl PartialOrd for AccessClass
impl StructuralPartialEq for AccessClass
Auto Trait Implementations§
impl Freeze for AccessClass
impl RefUnwindSafe for AccessClass
impl Send for AccessClass
impl Sync for AccessClass
impl Unpin for AccessClass
impl UnsafeUnpin for AccessClass
impl UnwindSafe for AccessClass
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.