#[repr(C)]pub struct WireDirectoryGetTokenResponse {
pub s: WireI32,
pub token: WireOptionalHandle,
}
Expand description
The wire type corresponding to DirectoryGetTokenResponse
.
Fields§
§s: WireI32
§token: WireOptionalHandle
Trait Implementations§
Source§impl<___D> Decode<___D> for WireDirectoryGetTokenResponsewhere
___D: InternalHandleDecoder + ?Sized + HandleDecoder,
impl<___D> Decode<___D> for WireDirectoryGetTokenResponsewhere
___D: InternalHandleDecoder + ?Sized + HandleDecoder,
Source§impl TakeFrom<WireDirectoryGetTokenResponse> for DirectoryGetTokenResponse
impl TakeFrom<WireDirectoryGetTokenResponse> for DirectoryGetTokenResponse
Source§const COPY_OPTIMIZATION: CopyOptimization<Self>
const COPY_OPTIMIZATION: CopyOptimization<Self>
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreSource§fn take_from(from: &WireDirectoryGetTokenResponse) -> Self
fn take_from(from: &WireDirectoryGetTokenResponse) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.Source§impl TakeFrom<WireDirectoryGetTokenResponse> for DirectoryGetTokenResponse
impl TakeFrom<WireDirectoryGetTokenResponse> for DirectoryGetTokenResponse
Source§fn take_from(from: &WireDirectoryGetTokenResponse) -> Self
fn take_from(from: &WireDirectoryGetTokenResponse) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreSource§impl ZeroPadding for WireDirectoryGetTokenResponse
impl ZeroPadding for WireDirectoryGetTokenResponse
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 WireDirectoryGetTokenResponse
impl !RefUnwindSafe for WireDirectoryGetTokenResponse
impl Send for WireDirectoryGetTokenResponse
impl !Sync for WireDirectoryGetTokenResponse
impl Unpin for WireDirectoryGetTokenResponse
impl UnwindSafe for WireDirectoryGetTokenResponse
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