pub struct WireAdvisoryLockType { /* private fields */ }
Expand description
The wire type corresponding to AdvisoryLockType
.
Implementations§
Source§impl WireAdvisoryLockType
impl WireAdvisoryLockType
pub const READ: WireAdvisoryLockType
pub const WRITE: WireAdvisoryLockType
pub const UNLOCK: WireAdvisoryLockType
Trait Implementations§
Source§impl Clone for WireAdvisoryLockType
impl Clone for WireAdvisoryLockType
Source§fn clone(&self) -> WireAdvisoryLockType
fn clone(&self) -> WireAdvisoryLockType
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 WireAdvisoryLockType
impl Debug for WireAdvisoryLockType
Source§impl<___D> Decode<___D> for WireAdvisoryLockTypewhere
___D: ?Sized,
impl<___D> Decode<___D> for WireAdvisoryLockTypewhere
___D: ?Sized,
Source§impl From<AdvisoryLockType> for WireAdvisoryLockType
impl From<AdvisoryLockType> for WireAdvisoryLockType
Source§fn from(natural: AdvisoryLockType) -> Self
fn from(natural: AdvisoryLockType) -> Self
Converts to this type from the input type.
Source§impl From<WireAdvisoryLockType> for AdvisoryLockType
impl From<WireAdvisoryLockType> for AdvisoryLockType
Source§fn from(wire: WireAdvisoryLockType) -> Self
fn from(wire: WireAdvisoryLockType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WireAdvisoryLockType
impl PartialEq for WireAdvisoryLockType
Source§impl TakeFrom<WireAdvisoryLockType> for AdvisoryLockType
impl TakeFrom<WireAdvisoryLockType> for AdvisoryLockType
Source§fn take_from(from: &WireAdvisoryLockType) -> Self
fn take_from(from: &WireAdvisoryLockType) -> 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<WireAdvisoryLockType> for AdvisoryLockType
impl TakeFrom<WireAdvisoryLockType> for AdvisoryLockType
Source§fn take_from(from: &WireAdvisoryLockType) -> Self
fn take_from(from: &WireAdvisoryLockType) -> 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 WireAdvisoryLockType
impl ZeroPadding for WireAdvisoryLockType
Source§fn zero_padding(_: &mut MaybeUninit<Self>)
fn zero_padding(_: &mut MaybeUninit<Self>)
Writes zeroes to the padding for this type, if any.
impl Copy for WireAdvisoryLockType
impl Eq for WireAdvisoryLockType
impl StructuralPartialEq for WireAdvisoryLockType
Auto Trait Implementations§
impl Freeze for WireAdvisoryLockType
impl RefUnwindSafe for WireAdvisoryLockType
impl Send for WireAdvisoryLockType
impl Sync for WireAdvisoryLockType
impl Unpin for WireAdvisoryLockType
impl UnwindSafe for WireAdvisoryLockType
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