#[repr(C)]pub struct LseekReply {
pub status: u32,
pub _pad: u32,
pub offset: i64,
}Expand description
Lseek reply.
Wire layout:
status @ 0..4, _pad @ 4..8, offset @ 8..16.
Fields§
§status: u32Status code: 0 = success.
_pad: u32§offset: i64New file position (absolute offset from beginning of file).
Trait Implementations§
Source§impl Clone for LseekReply
impl Clone for LseekReply
Source§fn clone(&self) -> LseekReply
fn clone(&self) -> LseekReply
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LseekReply
Source§impl Debug for LseekReply
impl Debug for LseekReply
Source§impl FromBytes for LseekReply
impl FromBytes for LseekReply
Source§impl FromZeros for LseekReply
impl FromZeros for LseekReply
impl Immutable for LseekReply
Source§impl IntoBytes for LseekReply
impl IntoBytes for LseekReply
§fn as_mut_bytes(&mut self) -> &mut [u8]where
Self: FromBytes,
fn as_mut_bytes(&mut self) -> &mut [u8]where
Self: FromBytes,
Gets the bytes of this value mutably. Read more
§fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
Source§impl TryFromBytes for LseekReply
impl TryFromBytes for LseekReply
§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Auto Trait Implementations§
impl Freeze for LseekReply
impl RefUnwindSafe for LseekReply
impl Send for LseekReply
impl Sync for LseekReply
impl Unpin for LseekReply
impl UnsafeUnpin for LseekReply
impl UnwindSafe for LseekReply
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