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
sourcefn eq(&self, other: &AccessFlag) -> bool
fn eq(&self, other: &AccessFlag) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl RawBitFlags for AccessFlag
impl RawBitFlags for AccessFlag
sourceconst EMPTY: Self::Numeric = {transmute(0x0000000000000000): <access::AccessFlag as enumflags2::_internal::RawBitFlags>::Numeric}
const EMPTY: Self::Numeric = {transmute(0x0000000000000000): <access::AccessFlag as enumflags2::_internal::RawBitFlags>::Numeric}
A value with no bits set.
sourceconst DEFAULT: Self::Numeric = {transmute(0x0000000000000000): <access::AccessFlag as enumflags2::_internal::RawBitFlags>::Numeric}
const DEFAULT: Self::Numeric = {transmute(0x0000000000000000): <access::AccessFlag as enumflags2::_internal::RawBitFlags>::Numeric}
The value used by the Default implementation. Equivalent to EMPTY, unless customized. Read more
sourceconst ALL_BITS: Self::Numeric = {transmute(0x00000000000001ff): <access::AccessFlag as enumflags2::_internal::RawBitFlags>::Numeric}
const ALL_BITS: Self::Numeric = {transmute(0x00000000000001ff): <access::AccessFlag as enumflags2::_internal::RawBitFlags>::Numeric}
A value with all flag bits set.
sourceconst BITFLAGS_TYPE_NAME: &'static str = _
const BITFLAGS_TYPE_NAME: &'static str = _
The name of the type for debug formatting purposes. Read more
impl Copy for AccessFlag
impl Eq for AccessFlag
impl StructuralEq 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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<V, T> VZip<V> for Twhere
V: MultiLane<T>,
impl<V, T> VZip<V> for Twhere
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