pub struct Unavailable { /* private fields */ }Expand description
The wire type corresponding to Unavailable.
Trait Implementations§
Source§fn clone(&self) -> Unavailable
fn clone(&self) -> Unavailable
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§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<Unavailable>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<Unavailable>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<Unavailable>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<Unavailable>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<Unavailable>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<Unavailable>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§const COPY_OPTIMIZATION: CopyOptimization<Unavailable, Unavailable>
const COPY_OPTIMIZATION: CopyOptimization<Unavailable, Unavailable>
Source§fn from_wire(wire: Unavailable) -> Unavailable
fn from_wire(wire: Unavailable) -> Unavailable
Converts the given
wire to this type.Source§fn from_wire_ref(wire: &Unavailable) -> Unavailable
fn from_wire_ref(wire: &Unavailable) -> Unavailable
Converts the given
wire reference to this type.Source§type Natural = Unavailable
type Natural = Unavailable
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§type Owned<'de> = Unavailable
type Owned<'de> = Unavailable
The owned wire type, restricted to the
'de lifetime.Source§fn zero_padding(out_: &mut MaybeUninit<Unavailable>)
fn zero_padding(out_: &mut MaybeUninit<Unavailable>)
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
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,
§impl<T> Constrained for Twhere
T: Unconstrained,
impl<T> Constrained for Twhere
T: Unconstrained,
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§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]