Enum async_rdma::AccessFlag
source · [−]#[repr(u64)]
pub enum AccessFlag {
LocalWrite,
RemoteWrite,
RemoteRead,
RemoteAtomic,
MwBind,
ZeroBased,
OnDemand,
HugeTlb,
RelaxOrder,
}
Expand description
A wrapper for ibv_access_flag, hide the ibv binding types
Variants
LocalWrite
local write permission
RemoteWrite
remote write permission
RemoteRead
remote read permission
RemoteAtomic
remote atomic operation permission
MwBind
enable memory window binding
ZeroBased
use byte offset from beginning of MR to access this MR, instead of a pointer address
OnDemand
create an on-demand paging MR
HugeTlb
huge pages are guaranteed to be used for this MR, only used with OnDemand
RelaxOrder
allow system to reorder accesses to the MR to improve performance
Trait Implementations
sourceimpl BitAnd<AccessFlag> for AccessFlag
impl BitAnd<AccessFlag> for AccessFlag
type Output = BitFlags<AccessFlag, <AccessFlag as RawBitFlags>::Numeric>
type Output = BitFlags<AccessFlag, <AccessFlag as RawBitFlags>::Numeric>
The resulting type after applying the &
operator.
sourceimpl BitFlag for AccessFlag
impl BitFlag for AccessFlag
sourceimpl BitOr<AccessFlag> for AccessFlag
impl BitOr<AccessFlag> for AccessFlag
type Output = BitFlags<AccessFlag, <AccessFlag as RawBitFlags>::Numeric>
type Output = BitFlags<AccessFlag, <AccessFlag as RawBitFlags>::Numeric>
The resulting type after applying the |
operator.
sourceimpl BitXor<AccessFlag> for AccessFlag
impl BitXor<AccessFlag> for AccessFlag
type Output = BitFlags<AccessFlag, <AccessFlag as RawBitFlags>::Numeric>
type Output = BitFlags<AccessFlag, <AccessFlag as RawBitFlags>::Numeric>
The resulting type after applying the ^
operator.
sourceimpl Clone for AccessFlag
impl Clone for AccessFlag
sourcefn clone(&self) -> AccessFlag
fn clone(&self) -> AccessFlag
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AccessFlag
impl Debug for AccessFlag
sourceimpl Not for AccessFlag
impl Not for AccessFlag
type Output = BitFlags<AccessFlag, <AccessFlag as RawBitFlags>::Numeric>
type Output = BitFlags<AccessFlag, <AccessFlag as RawBitFlags>::Numeric>
The resulting type after applying the !
operator.
sourceimpl PartialEq<AccessFlag> for AccessFlag
impl PartialEq<AccessFlag> for AccessFlag
sourceimpl RawBitFlags for AccessFlag
impl RawBitFlags for AccessFlag
sourceconst EMPTY: Self::Numeric = {transmute(0x0000000000000000): ::Numeric}
const EMPTY: Self::Numeric = {transmute(0x0000000000000000): ::Numeric}
A value with no bits set.
sourceconst DEFAULT: Self::Numeric = {transmute(0x0000000000000000): ::Numeric}
const DEFAULT: Self::Numeric = {transmute(0x0000000000000000): ::Numeric}
The value used by the Default implementation. Equivalent to EMPTY, unless customized. Read more
sourceconst ALL_BITS: Self::Numeric = {transmute(0x00000000000001ff): ::Numeric}
const ALL_BITS: Self::Numeric = {transmute(0x00000000000001ff): ::Numeric}
A value with all flag bits set.
sourceconst FLAG_LIST: &'static [Self] = &[Self::LocalWrite, Self::RemoteWrite, Self::RemoteRead, Self::RemoteAtomic,
Self::MwBind, Self::ZeroBased, Self::OnDemand, Self::HugeTlb,
Self::RelaxOrder]
const FLAG_LIST: &'static [Self] = &[Self::LocalWrite, Self::RemoteWrite, Self::RemoteRead, Self::RemoteAtomic, Self::MwBind, Self::ZeroBased, Self::OnDemand, Self::HugeTlb, Self::RelaxOrder]
A slice that contains each variant exactly one.
sourceconst BITFLAGS_TYPE_NAME: &'static str = "BitFlags"
const BITFLAGS_TYPE_NAME: &'static str = "BitFlags"
The name of the type for debug formatting purposes. Read more
impl Copy for AccessFlag
impl StructuralPartialEq for AccessFlag
Auto Trait Implementations
impl RefUnwindSafe for AccessFlag
impl Send for AccessFlag
impl Sync for AccessFlag
impl Unpin for AccessFlag
impl UnwindSafe for AccessFlag
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more