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