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