#[repr(C)]pub struct SessionUnregisterForTxResponse {
pub successful: u8,
pub status: StatusResult,
}Expand description
The wire type corresponding to SessionUnregisterForTxResponse.
Fields§
§successful: u8§status: StatusResultTrait Implementations§
Source§impl Clone for SessionUnregisterForTxResponse
impl Clone for SessionUnregisterForTxResponse
Source§fn clone(&self) -> SessionUnregisterForTxResponse
fn clone(&self) -> SessionUnregisterForTxResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Constrained for SessionUnregisterForTxResponse
impl Constrained for SessionUnregisterForTxResponse
Source§type Constraint = ()
type Constraint = ()
Type of constraint information for this type.
Source§fn validate(
_: Slot<'_, SessionUnregisterForTxResponse>,
_: <SessionUnregisterForTxResponse as Constrained>::Constraint,
) -> Result<(), ValidationError>
fn validate( _: Slot<'_, SessionUnregisterForTxResponse>, _: <SessionUnregisterForTxResponse as Constrained>::Constraint, ) -> Result<(), ValidationError>
Validate a slot of this type against a constraint. Can be called when
pointers/envelopes are just presence markers.
Source§impl<___D> Decode<___D> for SessionUnregisterForTxResponsewhere
___D: InternalHandleDecoder + ?Sized,
impl<___D> Decode<___D> for SessionUnregisterForTxResponsewhere
___D: InternalHandleDecoder + ?Sized,
Source§impl<___E> Encode<SessionUnregisterForTxResponse, ___E> for SessionUnregisterForTxResponsewhere
___E: InternalHandleEncoder + ?Sized,
impl<___E> Encode<SessionUnregisterForTxResponse, ___E> for SessionUnregisterForTxResponsewhere
___E: InternalHandleEncoder + ?Sized,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<SessionUnregisterForTxResponse>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<SessionUnregisterForTxResponse>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<'a, ___E> Encode<SessionUnregisterForTxResponse, ___E> for &'a SessionUnregisterForTxResponsewhere
___E: InternalHandleEncoder + ?Sized,
impl<'a, ___E> Encode<SessionUnregisterForTxResponse, ___E> for &'a SessionUnregisterForTxResponsewhere
___E: InternalHandleEncoder + ?Sized,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<SessionUnregisterForTxResponse>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<SessionUnregisterForTxResponse>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<___E, T0, T1> Encode<SessionUnregisterForTxResponse, ___E> for SessionUnregisterForTxResponse<T0, T1>
impl<___E, T0, T1> Encode<SessionUnregisterForTxResponse, ___E> for SessionUnregisterForTxResponse<T0, T1>
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<SessionUnregisterForTxResponse>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<SessionUnregisterForTxResponse>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<'a, ___E, T0, T1> Encode<SessionUnregisterForTxResponse, ___E> for &'a SessionUnregisterForTxResponse<T0, T1>
impl<'a, ___E, T0, T1> Encode<SessionUnregisterForTxResponse, ___E> for &'a SessionUnregisterForTxResponse<T0, T1>
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<SessionUnregisterForTxResponse>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<SessionUnregisterForTxResponse>, _: (), ) -> 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<SessionUnregisterForTxResponse> for SessionUnregisterForTxResponse
impl FromWire<SessionUnregisterForTxResponse> for SessionUnregisterForTxResponse
Source§fn from_wire(
wire: SessionUnregisterForTxResponse,
) -> SessionUnregisterForTxResponse
fn from_wire( wire: SessionUnregisterForTxResponse, ) -> SessionUnregisterForTxResponse
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl FromWireRef<SessionUnregisterForTxResponse> for SessionUnregisterForTxResponse
impl FromWireRef<SessionUnregisterForTxResponse> for SessionUnregisterForTxResponse
Source§fn from_wire_ref(
wire: &SessionUnregisterForTxResponse,
) -> SessionUnregisterForTxResponse
fn from_wire_ref( wire: &SessionUnregisterForTxResponse, ) -> SessionUnregisterForTxResponse
Converts the given reference to this type.
Source§impl IntoNatural for SessionUnregisterForTxResponse
impl IntoNatural for SessionUnregisterForTxResponse
Source§type Natural = SessionUnregisterForTxResponse
type Natural = SessionUnregisterForTxResponse
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 SessionUnregisterForTxResponse
impl Wire for SessionUnregisterForTxResponse
Source§type Narrowed<'de> = SessionUnregisterForTxResponse
type Narrowed<'de> = SessionUnregisterForTxResponse
The narrowed wire type, restricted to the
'de lifetime.Source§fn zero_padding(out_: &mut MaybeUninit<SessionUnregisterForTxResponse>)
fn zero_padding(out_: &mut MaybeUninit<SessionUnregisterForTxResponse>)
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl Freeze for SessionUnregisterForTxResponse
impl RefUnwindSafe for SessionUnregisterForTxResponse
impl Send for SessionUnregisterForTxResponse
impl Sync for SessionUnregisterForTxResponse
impl Unpin for SessionUnregisterForTxResponse
impl UnsafeUnpin for SessionUnregisterForTxResponse
impl UnwindSafe for SessionUnregisterForTxResponse
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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]