Struct sgx_oc::linux::ocall::MsgHdrFlags
source · #[repr(C)]pub struct MsgHdrFlags(/* private fields */);
Implementations§
source§impl MsgHdrFlags
impl MsgHdrFlags
pub const MSG_OOB: MsgHdrFlags = _
pub const MSG_CTRUNC: MsgHdrFlags = _
pub const MSG_TRUNC: MsgHdrFlags = _
pub const MSG_EOR: MsgHdrFlags = _
pub const MSG_ERRQUEUE: MsgHdrFlags = _
pub const fn empty() -> MsgHdrFlags
pub const fn all() -> MsgHdrFlags
pub const fn bits(&self) -> i32
pub fn from_bits(bits: i32) -> Option<MsgHdrFlags>
pub const fn from_bits_truncate(bits: i32) -> MsgHdrFlags
sourcepub const unsafe fn from_bits_unchecked(bits: i32) -> MsgHdrFlags
pub const unsafe fn from_bits_unchecked(bits: i32) -> MsgHdrFlags
pub const fn is_empty(&self) -> bool
pub const fn is_all(&self) -> bool
pub const fn contains(&self, other: MsgHdrFlags) -> bool
pub const fn intersects(&self, other: MsgHdrFlags) -> bool
pub fn insert(&mut self, other: MsgHdrFlags)
pub fn remove(&mut self, other: MsgHdrFlags)
pub fn toggle(&mut self, other: MsgHdrFlags)
Trait Implementations§
source§impl BitAnd for MsgHdrFlags
impl BitAnd for MsgHdrFlags
§type Output = MsgHdrFlags
type Output = MsgHdrFlags
The resulting type after applying the
&
operator.source§fn bitand(self, rhs: MsgHdrFlags) -> MsgHdrFlags
fn bitand(self, rhs: MsgHdrFlags) -> MsgHdrFlags
Performs the
&
operation. Read moresource§impl BitAndAssign for MsgHdrFlags
impl BitAndAssign for MsgHdrFlags
source§fn bitand_assign(&mut self, rhs: MsgHdrFlags)
fn bitand_assign(&mut self, rhs: MsgHdrFlags)
Performs the
&=
operation. Read moresource§impl BitOr for MsgHdrFlags
impl BitOr for MsgHdrFlags
§type Output = MsgHdrFlags
type Output = MsgHdrFlags
The resulting type after applying the
|
operator.source§fn bitor(self, rhs: MsgHdrFlags) -> MsgHdrFlags
fn bitor(self, rhs: MsgHdrFlags) -> MsgHdrFlags
Performs the
|
operation. Read moresource§impl BitOrAssign for MsgHdrFlags
impl BitOrAssign for MsgHdrFlags
source§fn bitor_assign(&mut self, rhs: MsgHdrFlags)
fn bitor_assign(&mut self, rhs: MsgHdrFlags)
Performs the
|=
operation. Read moresource§impl BitXor for MsgHdrFlags
impl BitXor for MsgHdrFlags
§type Output = MsgHdrFlags
type Output = MsgHdrFlags
The resulting type after applying the
^
operator.source§fn bitxor(self, rhs: MsgHdrFlags) -> MsgHdrFlags
fn bitxor(self, rhs: MsgHdrFlags) -> MsgHdrFlags
Performs the
^
operation. Read moresource§impl BitXorAssign for MsgHdrFlags
impl BitXorAssign for MsgHdrFlags
source§fn bitxor_assign(&mut self, rhs: MsgHdrFlags)
fn bitxor_assign(&mut self, rhs: MsgHdrFlags)
Performs the
^=
operation. Read moresource§impl Clone for MsgHdrFlags
impl Clone for MsgHdrFlags
source§fn clone(&self) -> MsgHdrFlags
fn clone(&self) -> MsgHdrFlags
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MsgHdrFlags
impl Debug for MsgHdrFlags
source§impl Default for MsgHdrFlags
impl Default for MsgHdrFlags
source§impl Not for MsgHdrFlags
impl Not for MsgHdrFlags
§type Output = MsgHdrFlags
type Output = MsgHdrFlags
The resulting type after applying the
!
operator.source§fn not(self) -> MsgHdrFlags
fn not(self) -> MsgHdrFlags
Performs the unary
!
operation. Read moresource§impl PartialEq for MsgHdrFlags
impl PartialEq for MsgHdrFlags
source§fn eq(&self, other: &MsgHdrFlags) -> bool
fn eq(&self, other: &MsgHdrFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Sub for MsgHdrFlags
impl Sub for MsgHdrFlags
§type Output = MsgHdrFlags
type Output = MsgHdrFlags
The resulting type after applying the
-
operator.source§fn sub(self, rhs: MsgHdrFlags) -> MsgHdrFlags
fn sub(self, rhs: MsgHdrFlags) -> MsgHdrFlags
Performs the
-
operation. Read moresource§impl SubAssign for MsgHdrFlags
impl SubAssign for MsgHdrFlags
source§fn sub_assign(&mut self, rhs: MsgHdrFlags)
fn sub_assign(&mut self, rhs: MsgHdrFlags)
Performs the
-=
operation. Read moreimpl ContiguousMemory for MsgHdrFlags
impl Copy for MsgHdrFlags
impl Eq for MsgHdrFlags
impl StructuralEq for MsgHdrFlags
impl StructuralPartialEq for MsgHdrFlags
Auto Trait Implementations§
impl RefUnwindSafe for MsgHdrFlags
impl Send for MsgHdrFlags
impl Sync for MsgHdrFlags
impl Unpin for MsgHdrFlags
impl UnwindSafe for MsgHdrFlags
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