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> Decode<D> for WireRightswhere
D: ?Sized,
impl<D> Decode<D> for WireRightswhere
D: ?Sized,
Source§fn decode(
slot: Slot<'_, WireRights>,
decoder: &mut D,
_: <WireRights as Constrained>::Constraint,
) -> Result<(), DecodeError>
fn decode( slot: Slot<'_, WireRights>, decoder: &mut D, _: <WireRights as Constrained>::Constraint, ) -> Result<(), DecodeError>
Decodes a value into a slot using a decoder. Read more
Source§impl<E> Encode<WireRights, E> for &Rightswhere
E: ?Sized,
impl<E> Encode<WireRights, E> for &Rightswhere
E: ?Sized,
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> Encode<WireRights, E> for Rightswhere
E: ?Sized,
impl<E> Encode<WireRights, E> for Rightswhere
E: ?Sized,
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) -> Rights
fn from_wire(wire: WireRights) -> Rights
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) -> Rights
fn from_wire_ref(wire: &WireRights) -> Rights
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<WireRights>)
fn zero_padding(out: &mut MaybeUninit<WireRights>)
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Constrained for Twhere
T: Unconstrained,
impl<T> Constrained for Twhere
T: Unconstrained,
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
Source§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to Self