#[repr(C)]pub struct WireFileResizeRequest {
pub length: WireU64,
}
Expand description
The wire type corresponding to FileResizeRequest
.
Fields§
§length: WireU64
Trait Implementations§
Source§impl Clone for WireFileResizeRequest
impl Clone for WireFileResizeRequest
Source§fn clone(&self) -> WireFileResizeRequest
fn clone(&self) -> WireFileResizeRequest
Returns a copy 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 WireFileResizeRequest
impl Debug for WireFileResizeRequest
Source§impl<___D> Decode<___D> for WireFileResizeRequestwhere
___D: InternalHandleDecoder + ?Sized,
impl<___D> Decode<___D> for WireFileResizeRequestwhere
___D: InternalHandleDecoder + ?Sized,
Source§impl TakeFrom<WireFileResizeRequest> for FileResizeRequest
impl TakeFrom<WireFileResizeRequest> for FileResizeRequest
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: &WireFileResizeRequest) -> Self
fn take_from(from: &WireFileResizeRequest) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.Source§impl TakeFrom<WireFileResizeRequest> for FileResizeRequest
impl TakeFrom<WireFileResizeRequest> for FileResizeRequest
Source§fn take_from(from: &WireFileResizeRequest) -> Self
fn take_from(from: &WireFileResizeRequest) -> 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 WireFileResizeRequest
impl ZeroPadding for WireFileResizeRequest
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 WireFileResizeRequest
impl RefUnwindSafe for WireFileResizeRequest
impl Send for WireFileResizeRequest
impl Sync for WireFileResizeRequest
impl Unpin for WireFileResizeRequest
impl UnwindSafe for WireFileResizeRequest
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