#[repr(C)]pub struct WireFileSeekRequest {
pub origin: WireSeekOrigin,
pub offset: WireI64,
}
Expand description
The wire type corresponding to FileSeekRequest
.
Fields§
§origin: WireSeekOrigin
§offset: WireI64
Trait Implementations§
Source§impl Clone for WireFileSeekRequest
impl Clone for WireFileSeekRequest
Source§fn clone(&self) -> WireFileSeekRequest
fn clone(&self) -> WireFileSeekRequest
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 WireFileSeekRequest
impl Debug for WireFileSeekRequest
Source§impl<___D> Decode<___D> for WireFileSeekRequestwhere
___D: InternalHandleDecoder + ?Sized,
impl<___D> Decode<___D> for WireFileSeekRequestwhere
___D: InternalHandleDecoder + ?Sized,
Source§impl TakeFrom<WireFileSeekRequest> for FileSeekRequest
impl TakeFrom<WireFileSeekRequest> for FileSeekRequest
Source§fn take_from(from: &WireFileSeekRequest) -> Self
fn take_from(from: &WireFileSeekRequest) -> 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 TakeFrom<WireFileSeekRequest> for FileSeekRequest
impl TakeFrom<WireFileSeekRequest> for FileSeekRequest
Source§fn take_from(from: &WireFileSeekRequest) -> Self
fn take_from(from: &WireFileSeekRequest) -> 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 WireFileSeekRequest
impl ZeroPadding for WireFileSeekRequest
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 WireFileSeekRequest
impl RefUnwindSafe for WireFileSeekRequest
impl Send for WireFileSeekRequest
impl Sync for WireFileSeekRequest
impl Unpin for WireFileSeekRequest
impl UnwindSafe for WireFileSeekRequest
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