pub struct WireOptionalSelinuxContext<'de> { /* private fields */ }
Implementations§
Source§impl<'de> WireOptionalSelinuxContext<'de>
impl<'de> WireOptionalSelinuxContext<'de>
pub fn is_some(&self) -> bool
pub fn is_none(&self) -> bool
pub fn as_ref(&self) -> Option<&WireSelinuxContext<'de>>
pub fn into_option(self) -> Option<WireSelinuxContext<'de>>
Trait Implementations§
Source§impl<'de> Debug for WireOptionalSelinuxContext<'de>
impl<'de> Debug for WireOptionalSelinuxContext<'de>
Source§impl<___D> Decode<___D> for WireOptionalSelinuxContext<'static>where
___D: InternalHandleDecoder + ?Sized + Decoder,
impl<___D> Decode<___D> for WireOptionalSelinuxContext<'static>where
___D: InternalHandleDecoder + ?Sized + Decoder,
Source§impl<'de> FromWireOption<WireOptionalSelinuxContext<'de>> for Box<SelinuxContext>
impl<'de> FromWireOption<WireOptionalSelinuxContext<'de>> for Box<SelinuxContext>
Source§fn from_wire_option(wire: WireOptionalSelinuxContext<'de>) -> Option<Self>
fn from_wire_option(wire: WireOptionalSelinuxContext<'de>) -> Option<Self>
Converts the given
wire
to an option of this type.Source§impl<'de> FromWireOptionRef<WireOptionalSelinuxContext<'de>> for Box<SelinuxContext>
impl<'de> FromWireOptionRef<WireOptionalSelinuxContext<'de>> for Box<SelinuxContext>
Source§fn from_wire_option_ref(wire: &WireOptionalSelinuxContext<'de>) -> Option<Self>
fn from_wire_option_ref(wire: &WireOptionalSelinuxContext<'de>) -> Option<Self>
Converts the given
wire
reference to an option of this type.Source§impl Wire for WireOptionalSelinuxContext<'static>
impl Wire for WireOptionalSelinuxContext<'static>
Source§type Decoded<'de> = WireOptionalSelinuxContext<'de>
type Decoded<'de> = WireOptionalSelinuxContext<'de>
The decoded wire type, restricted to the
'de
lifetime.Source§fn zero_padding(out: &mut MaybeUninit<Self>)
fn zero_padding(out: &mut MaybeUninit<Self>)
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl<'de> Freeze for WireOptionalSelinuxContext<'de>
impl<'de> RefUnwindSafe for WireOptionalSelinuxContext<'de>
impl<'de> !Send for WireOptionalSelinuxContext<'de>
impl<'de> !Sync for WireOptionalSelinuxContext<'de>
impl<'de> Unpin for WireOptionalSelinuxContext<'de>
impl<'de> !UnwindSafe for WireOptionalSelinuxContext<'de>
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