pub trait Access: PrivateAccess {
// Required methods
fn from_read(abi: ABI) -> BitFlags<Self>;
fn from_write(abi: ABI) -> BitFlags<Self>;
// Provided method
fn from_all(abi: ABI) -> BitFlags<Self> { ... }
}Required Methods§
sourcefn from_read(abi: ABI) -> BitFlags<Self>
fn from_read(abi: ABI) -> BitFlags<Self>
Gets the access rights identified as read-only according to a specific ABI.
Exclusive with from_write().
sourcefn from_write(abi: ABI) -> BitFlags<Self>
fn from_write(abi: ABI) -> BitFlags<Self>
Gets the access rights identified as write-only according to a specific ABI.
Exclusive with from_read().
Provided Methods§
sourcefn from_all(abi: ABI) -> BitFlags<Self>
fn from_all(abi: ABI) -> BitFlags<Self>
Gets the access rights defined by a specific ABI.
Union of from_read() and from_write().