pub struct FileSeekRequest {
pub origin: SeekOrigin,
pub offset: i64,
}
Fields§
§origin: SeekOrigin
§offset: i64
Trait Implementations§
Source§impl Clone for FileSeekRequest
impl Clone for FileSeekRequest
Source§fn clone(&self) -> FileSeekRequest
fn clone(&self) -> FileSeekRequest
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 FileSeekRequest
impl Debug for FileSeekRequest
Source§impl Encodable for FileSeekRequest
impl Encodable for FileSeekRequest
Source§type Encoded = WireFileSeekRequest
type Encoded = WireFileSeekRequest
The wire type for the value.
§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
encoding instead of calling
encode
. Read moreSource§impl EncodableOption for Box<FileSeekRequest>
impl EncodableOption for Box<FileSeekRequest>
Source§type EncodedOption = WireBox<WireFileSeekRequest>
type EncodedOption = WireBox<WireFileSeekRequest>
The wire type for the optional value.
Source§impl<___E> Encode<___E> for FileSeekRequestwhere
___E: InternalHandleEncoder + ?Sized,
impl<___E> Encode<___E> for FileSeekRequestwhere
___E: InternalHandleEncoder + ?Sized,
Source§impl<___E> EncodeOption<___E> for Box<FileSeekRequest>where
___E: Encoder + ?Sized,
FileSeekRequest: Encode<___E>,
impl<___E> EncodeOption<___E> for Box<FileSeekRequest>where
___E: Encoder + ?Sized,
FileSeekRequest: Encode<___E>,
Source§fn encode_option(
this: Option<&mut Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Self::EncodedOption>,
) -> Result<(), EncodeError>
fn encode_option( this: Option<&mut Self>, encoder: &mut ___E, out: &mut MaybeUninit<Self::EncodedOption>, ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
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 moreAuto Trait Implementations§
impl Freeze for FileSeekRequest
impl RefUnwindSafe for FileSeekRequest
impl Send for FileSeekRequest
impl Sync for FileSeekRequest
impl Unpin for FileSeekRequest
impl UnwindSafe for FileSeekRequest
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