#[repr(C)]pub struct ViewCreationToken {
pub value: Channel,
}Expand description
The wire type corresponding to ViewCreationToken.
Fields§
§value: ChannelTrait Implementations§
Source§impl Constrained for ViewCreationToken
impl Constrained for ViewCreationToken
Source§impl Debug for ViewCreationToken
impl Debug for ViewCreationToken
Source§impl<___D> Decode<___D> for ViewCreationTokenwhere
___D: InternalHandleDecoder + ?Sized + HandleDecoder,
impl<___D> Decode<___D> for ViewCreationTokenwhere
___D: InternalHandleDecoder + ?Sized + HandleDecoder,
Source§impl<___E> Encode<ViewCreationToken, ___E> for ViewCreationTokenwhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
impl<___E> Encode<ViewCreationToken, ___E> for ViewCreationTokenwhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
Source§const COPY_OPTIMIZATION: CopyOptimization<Self, ViewCreationToken>
const COPY_OPTIMIZATION: CopyOptimization<Self, ViewCreationToken>
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<ViewCreationToken>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<ViewCreationToken>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
Source§impl<___E, T0> Encode<ViewCreationToken, ___E> for ViewCreationToken<T0>where
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
T0: Encode<Channel, ___E>,
impl<___E, T0> Encode<ViewCreationToken, ___E> for ViewCreationToken<T0>where
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
T0: Encode<Channel, ___E>,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<ViewCreationToken>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<ViewCreationToken>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl FromWire<ViewCreationToken> for ViewCreationToken
impl FromWire<ViewCreationToken> for ViewCreationToken
Source§const COPY_OPTIMIZATION: CopyOptimization<ViewCreationToken, Self>
const COPY_OPTIMIZATION: CopyOptimization<ViewCreationToken, Self>
Source§fn from_wire(wire: ViewCreationToken) -> Self
fn from_wire(wire: ViewCreationToken) -> Self
Converts the given owned value to this type.
Source§impl IntoNatural for ViewCreationToken
impl IntoNatural for ViewCreationToken
Source§type Natural = ViewCreationToken
type Natural = ViewCreationToken
A good default type for this wire type to convert into.
§fn into_natural(self) -> Self::Natural
fn into_natural(self) -> Self::Natural
Converts this type into its natural equivalent.
Source§impl Wire for ViewCreationToken
impl Wire for ViewCreationToken
Source§type Narrowed<'de> = ViewCreationToken
type Narrowed<'de> = ViewCreationToken
The narrowed 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 Freeze for ViewCreationToken
impl RefUnwindSafe for ViewCreationToken
impl Send for ViewCreationToken
impl Sync for ViewCreationToken
impl Unpin for ViewCreationToken
impl UnsafeUnpin for ViewCreationToken
impl UnwindSafe for ViewCreationToken
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
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§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]