pub struct WireRights { /* private fields */ }Expand description
The wire type for zx::Rights.
Implementations§
Trait Implementations§
Source§impl Clone for WireRights
 
impl Clone for WireRights
Source§fn clone(&self) -> WireRights
 
fn clone(&self) -> WireRights
Returns a duplicate 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 WireRights
 
impl Debug for WireRights
Source§impl<D: ?Sized> Decode<D> for WireRights
 
impl<D: ?Sized> Decode<D> for WireRights
Source§fn decode(
    slot: Slot<'_, Self>,
    decoder: &mut D,
    _: <Self as Constrained>::Constraint,
) -> Result<(), DecodeError>
 
fn decode( slot: Slot<'_, Self>, decoder: &mut D, _: <Self as Constrained>::Constraint, ) -> Result<(), DecodeError>
Decodes a value into a slot using a decoder. Read more
Source§impl<E: ?Sized> Encode<WireRights, E> for &Rights
 
impl<E: ?Sized> Encode<WireRights, E> for &Rights
Source§fn encode(
    self,
    encoder: &mut E,
    out: &mut MaybeUninit<WireRights>,
    constraint: (),
) -> Result<(), EncodeError>
 
fn encode( self, encoder: &mut E, out: &mut MaybeUninit<WireRights>, constraint: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
Source§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
 
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<E: ?Sized> Encode<WireRights, E> for Rights
 
impl<E: ?Sized> Encode<WireRights, E> for Rights
Source§fn encode(
    self,
    encoder: &mut E,
    out: &mut MaybeUninit<WireRights>,
    constraint: (),
) -> Result<(), EncodeError>
 
fn encode( self, encoder: &mut E, out: &mut MaybeUninit<WireRights>, constraint: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
Source§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
 
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl FromWire<WireRights> for Rights
 
impl FromWire<WireRights> for Rights
Source§fn from_wire(wire: WireRights) -> Self
 
fn from_wire(wire: WireRights) -> Self
Converts the given 
wire to this type.Source§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
 
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl FromWireRef<WireRights> for Rights
 
impl FromWireRef<WireRights> for Rights
Source§fn from_wire_ref(wire: &WireRights) -> Self
 
fn from_wire_ref(wire: &WireRights) -> Self
Converts the given 
wire reference to this type.Source§impl IntoNatural for WireRights
 
impl IntoNatural for WireRights
Source§impl Wire for WireRights
 
impl Wire for WireRights
Source§type Owned<'de> = WireRights
 
type Owned<'de> = WireRights
The owned 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.
impl Copy for WireRights
impl Unconstrained for WireRights
Auto Trait Implementations§
impl Freeze for WireRights
impl RefUnwindSafe for WireRights
impl Send for WireRights
impl Sync for WireRights
impl Unpin for WireRights
impl UnwindSafe for WireRights
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