#[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 FromWire<WireFileSeekRequest> for FileSeekRequest
impl FromWire<WireFileSeekRequest> for FileSeekRequest
Source§fn from_wire(wire: WireFileSeekRequest) -> Self
fn from_wire(wire: WireFileSeekRequest) -> Self
Converts the given
wire
to this type.§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl FromWireRef<WireFileSeekRequest> for FileSeekRequest
impl FromWireRef<WireFileSeekRequest> for FileSeekRequest
Source§fn from_wire_ref(wire: &WireFileSeekRequest) -> Self
fn from_wire_ref(wire: &WireFileSeekRequest) -> Self
Converts the given
wire
reference to this type.Source§impl Wire for WireFileSeekRequest
impl Wire for WireFileSeekRequest
Source§type Decoded<'de> = WireFileSeekRequest
type Decoded<'de> = WireFileSeekRequest
The decoded wire type, restricted to the
'de
lifetime.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