#[repr(C, align(8))]pub struct WireU64(pub u64);Expand description
A wire-encoded u64
Tuple Fields§
§0: u64Trait Implementations§
Source§impl AddAssign<&WireU64> for WireU64
impl AddAssign<&WireU64> for WireU64
Source§fn add_assign(&mut self, other: &WireU64)
fn add_assign(&mut self, other: &WireU64)
Performs the
+= operation. Read moreSource§impl AddAssign<&u64> for WireU64
impl AddAssign<&u64> for WireU64
Source§fn add_assign(&mut self, other: &u64)
fn add_assign(&mut self, other: &u64)
Performs the
+= operation. Read moreSource§impl AddAssign<u64> for WireU64
impl AddAssign<u64> for WireU64
Source§fn add_assign(&mut self, other: u64)
fn add_assign(&mut self, other: u64)
Performs the
+= operation. Read moreSource§impl AddAssign for WireU64
impl AddAssign for WireU64
Source§fn add_assign(&mut self, other: WireU64)
fn add_assign(&mut self, other: WireU64)
Performs the
+= operation. Read moreSource§impl BitAndAssign<&WireU64> for WireU64
impl BitAndAssign<&WireU64> for WireU64
Source§fn bitand_assign(&mut self, other: &WireU64)
fn bitand_assign(&mut self, other: &WireU64)
Performs the
&= operation. Read moreSource§impl BitAndAssign<&u64> for WireU64
impl BitAndAssign<&u64> for WireU64
Source§fn bitand_assign(&mut self, other: &u64)
fn bitand_assign(&mut self, other: &u64)
Performs the
&= operation. Read moreSource§impl BitAndAssign<u64> for WireU64
impl BitAndAssign<u64> for WireU64
Source§fn bitand_assign(&mut self, other: u64)
fn bitand_assign(&mut self, other: u64)
Performs the
&= operation. Read moreSource§impl BitAndAssign for WireU64
impl BitAndAssign for WireU64
Source§fn bitand_assign(&mut self, other: WireU64)
fn bitand_assign(&mut self, other: WireU64)
Performs the
&= operation. Read moreSource§impl BitOrAssign<&WireU64> for WireU64
impl BitOrAssign<&WireU64> for WireU64
Source§fn bitor_assign(&mut self, other: &WireU64)
fn bitor_assign(&mut self, other: &WireU64)
Performs the
|= operation. Read moreSource§impl BitOrAssign<&u64> for WireU64
impl BitOrAssign<&u64> for WireU64
Source§fn bitor_assign(&mut self, other: &u64)
fn bitor_assign(&mut self, other: &u64)
Performs the
|= operation. Read moreSource§impl BitOrAssign<u64> for WireU64
impl BitOrAssign<u64> for WireU64
Source§fn bitor_assign(&mut self, other: u64)
fn bitor_assign(&mut self, other: u64)
Performs the
|= operation. Read moreSource§impl BitOrAssign for WireU64
impl BitOrAssign for WireU64
Source§fn bitor_assign(&mut self, other: WireU64)
fn bitor_assign(&mut self, other: WireU64)
Performs the
|= operation. Read moreSource§impl BitXorAssign<&WireU64> for WireU64
impl BitXorAssign<&WireU64> for WireU64
Source§fn bitxor_assign(&mut self, other: &WireU64)
fn bitxor_assign(&mut self, other: &WireU64)
Performs the
^= operation. Read moreSource§impl BitXorAssign<&u64> for WireU64
impl BitXorAssign<&u64> for WireU64
Source§fn bitxor_assign(&mut self, other: &u64)
fn bitxor_assign(&mut self, other: &u64)
Performs the
^= operation. Read moreSource§impl BitXorAssign<u64> for WireU64
impl BitXorAssign<u64> for WireU64
Source§fn bitxor_assign(&mut self, other: u64)
fn bitxor_assign(&mut self, other: u64)
Performs the
^= operation. Read moreSource§impl BitXorAssign for WireU64
impl BitXorAssign for WireU64
Source§fn bitxor_assign(&mut self, other: WireU64)
fn bitxor_assign(&mut self, other: WireU64)
Performs the
^= operation. Read moreSource§impl DivAssign<&WireU64> for WireU64
impl DivAssign<&WireU64> for WireU64
Source§fn div_assign(&mut self, other: &WireU64)
fn div_assign(&mut self, other: &WireU64)
Performs the
/= operation. Read moreSource§impl DivAssign<&u64> for WireU64
impl DivAssign<&u64> for WireU64
Source§fn div_assign(&mut self, other: &u64)
fn div_assign(&mut self, other: &u64)
Performs the
/= operation. Read moreSource§impl DivAssign<u64> for WireU64
impl DivAssign<u64> for WireU64
Source§fn div_assign(&mut self, other: u64)
fn div_assign(&mut self, other: u64)
Performs the
/= operation. Read moreSource§impl DivAssign for WireU64
impl DivAssign for WireU64
Source§fn div_assign(&mut self, other: WireU64)
fn div_assign(&mut self, other: WireU64)
Performs the
/= operation. Read moreSource§impl<'a, E: ?Sized> Encode<WireU64, E> for &'a WireU64
impl<'a, E: ?Sized> Encode<WireU64, E> for &'a WireU64
Source§fn encode(
self,
_: &mut E,
out: &mut MaybeUninit<WireU64>,
_constraint: <WireU64 as Constrained>::Constraint,
) -> Result<(), EncodeError>
fn encode( self, _: &mut E, out: &mut MaybeUninit<WireU64>, _constraint: <WireU64 as Constrained>::Constraint, ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
Source§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<'a, E: ?Sized> Encode<WireU64, E> for &'a u64
impl<'a, E: ?Sized> Encode<WireU64, E> for &'a u64
Source§fn encode(
self,
_: &mut E,
out: &mut MaybeUninit<WireU64>,
_constraint: <WireU64 as Constrained>::Constraint,
) -> Result<(), EncodeError>
fn encode( self, _: &mut E, out: &mut MaybeUninit<WireU64>, _constraint: <WireU64 as Constrained>::Constraint, ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
Source§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<E: ?Sized> Encode<WireU64, E> for WireU64
impl<E: ?Sized> Encode<WireU64, E> for WireU64
Source§const COPY_OPTIMIZATION: CopyOptimization<WireU64, WireU64> = CopyOptimization<WireU64, WireU64>::PRIMITIVE
const COPY_OPTIMIZATION: CopyOptimization<WireU64, WireU64> = CopyOptimization<WireU64, WireU64>::PRIMITIVE
Source§fn encode(
self,
encoder: &mut E,
out: &mut MaybeUninit<WireU64>,
constraint: <WireU64 as Constrained>::Constraint,
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut E, out: &mut MaybeUninit<WireU64>, constraint: <WireU64 as Constrained>::Constraint, ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
Source§impl<E: ?Sized> Encode<WireU64, E> for u64
impl<E: ?Sized> Encode<WireU64, E> for u64
Source§const COPY_OPTIMIZATION: CopyOptimization<u64, WireU64> = CopyOptimization<u64, WireU64>::PRIMITIVE
const COPY_OPTIMIZATION: CopyOptimization<u64, WireU64> = CopyOptimization<u64, WireU64>::PRIMITIVE
Source§fn encode(
self,
encoder: &mut E,
out: &mut MaybeUninit<WireU64>,
constraint: <WireU64 as Constrained>::Constraint,
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut E, out: &mut MaybeUninit<WireU64>, constraint: <WireU64 as Constrained>::Constraint, ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
Source§impl<E: Encoder + ?Sized> EncodeOption<WireBox<'static, WireU64>, E> for &WireU64
impl<E: Encoder + ?Sized> EncodeOption<WireBox<'static, WireU64>, E> for &WireU64
Source§fn encode_option(
this: Option<Self>,
encoder: &mut E,
out: &mut MaybeUninit<WireBox<'static, WireU64>>,
constraint: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut E, out: &mut MaybeUninit<WireBox<'static, WireU64>>, constraint: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl<E: Encoder + ?Sized> EncodeOption<WireBox<'static, WireU64>, E> for WireU64
impl<E: Encoder + ?Sized> EncodeOption<WireBox<'static, WireU64>, E> for WireU64
Source§fn encode_option(
this: Option<Self>,
encoder: &mut E,
out: &mut MaybeUninit<WireBox<'static, WireU64>>,
constraint: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut E, out: &mut MaybeUninit<WireBox<'static, WireU64>>, constraint: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl FromBytes for WireU64
impl FromBytes for WireU64
Source§impl FromWireRef<WireU64> for WireU64
impl FromWireRef<WireU64> for WireU64
Source§fn from_wire_ref(wire: &WireU64) -> Self
fn from_wire_ref(wire: &WireU64) -> Self
Converts the given
wire reference to this type.Source§impl FromWireRef<WireU64> for u64
impl FromWireRef<WireU64> for u64
Source§fn from_wire_ref(wire: &WireU64) -> Self
fn from_wire_ref(wire: &WireU64) -> Self
Converts the given
wire reference to this type.Source§impl IntoNatural for WireU64
impl IntoNatural for WireU64
Source§impl MulAssign<&WireU64> for WireU64
impl MulAssign<&WireU64> for WireU64
Source§fn mul_assign(&mut self, other: &WireU64)
fn mul_assign(&mut self, other: &WireU64)
Performs the
*= operation. Read moreSource§impl MulAssign<&u64> for WireU64
impl MulAssign<&u64> for WireU64
Source§fn mul_assign(&mut self, other: &u64)
fn mul_assign(&mut self, other: &u64)
Performs the
*= operation. Read moreSource§impl MulAssign<u64> for WireU64
impl MulAssign<u64> for WireU64
Source§fn mul_assign(&mut self, other: u64)
fn mul_assign(&mut self, other: u64)
Performs the
*= operation. Read moreSource§impl MulAssign for WireU64
impl MulAssign for WireU64
Source§fn mul_assign(&mut self, other: WireU64)
fn mul_assign(&mut self, other: WireU64)
Performs the
*= operation. Read moreSource§impl Ord for WireU64
impl Ord for WireU64
Source§impl PartialOrd<u64> for WireU64
impl PartialOrd<u64> for WireU64
Source§impl PartialOrd for WireU64
impl PartialOrd for WireU64
Source§impl RemAssign<&WireU64> for WireU64
impl RemAssign<&WireU64> for WireU64
Source§fn rem_assign(&mut self, other: &WireU64)
fn rem_assign(&mut self, other: &WireU64)
Performs the
%= operation. Read moreSource§impl RemAssign<&u64> for WireU64
impl RemAssign<&u64> for WireU64
Source§fn rem_assign(&mut self, other: &u64)
fn rem_assign(&mut self, other: &u64)
Performs the
%= operation. Read moreSource§impl RemAssign<u64> for WireU64
impl RemAssign<u64> for WireU64
Source§fn rem_assign(&mut self, other: u64)
fn rem_assign(&mut self, other: u64)
Performs the
%= operation. Read moreSource§impl RemAssign for WireU64
impl RemAssign for WireU64
Source§fn rem_assign(&mut self, other: WireU64)
fn rem_assign(&mut self, other: WireU64)
Performs the
%= operation. Read moreSource§impl ShlAssign<&WireU64> for WireU64
impl ShlAssign<&WireU64> for WireU64
Source§fn shl_assign(&mut self, other: &WireU64)
fn shl_assign(&mut self, other: &WireU64)
Performs the
<<= operation. Read moreSource§impl ShlAssign<&u64> for WireU64
impl ShlAssign<&u64> for WireU64
Source§fn shl_assign(&mut self, other: &u64)
fn shl_assign(&mut self, other: &u64)
Performs the
<<= operation. Read moreSource§impl ShlAssign<u64> for WireU64
impl ShlAssign<u64> for WireU64
Source§fn shl_assign(&mut self, other: u64)
fn shl_assign(&mut self, other: u64)
Performs the
<<= operation. Read moreSource§impl ShlAssign for WireU64
impl ShlAssign for WireU64
Source§fn shl_assign(&mut self, other: WireU64)
fn shl_assign(&mut self, other: WireU64)
Performs the
<<= operation. Read moreSource§impl ShrAssign<&WireU64> for WireU64
impl ShrAssign<&WireU64> for WireU64
Source§fn shr_assign(&mut self, other: &WireU64)
fn shr_assign(&mut self, other: &WireU64)
Performs the
>>= operation. Read moreSource§impl ShrAssign<&u64> for WireU64
impl ShrAssign<&u64> for WireU64
Source§fn shr_assign(&mut self, other: &u64)
fn shr_assign(&mut self, other: &u64)
Performs the
>>= operation. Read moreSource§impl ShrAssign<u64> for WireU64
impl ShrAssign<u64> for WireU64
Source§fn shr_assign(&mut self, other: u64)
fn shr_assign(&mut self, other: u64)
Performs the
>>= operation. Read moreSource§impl ShrAssign for WireU64
impl ShrAssign for WireU64
Source§fn shr_assign(&mut self, other: WireU64)
fn shr_assign(&mut self, other: WireU64)
Performs the
>>= operation. Read moreSource§impl SubAssign<&WireU64> for WireU64
impl SubAssign<&WireU64> for WireU64
Source§fn sub_assign(&mut self, other: &WireU64)
fn sub_assign(&mut self, other: &WireU64)
Performs the
-= operation. Read moreSource§impl SubAssign<&u64> for WireU64
impl SubAssign<&u64> for WireU64
Source§fn sub_assign(&mut self, other: &u64)
fn sub_assign(&mut self, other: &u64)
Performs the
-= operation. Read moreSource§impl SubAssign<u64> for WireU64
impl SubAssign<u64> for WireU64
Source§fn sub_assign(&mut self, other: u64)
fn sub_assign(&mut self, other: u64)
Performs the
-= operation. Read moreSource§impl SubAssign for WireU64
impl SubAssign for WireU64
Source§fn sub_assign(&mut self, other: WireU64)
fn sub_assign(&mut self, other: WireU64)
Performs the
-= operation. Read moreSource§impl TryFromBytes for WireU64where
u64: TryFromBytes,
impl TryFromBytes for WireU64where
u64: TryFromBytes,
Source§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,
Source§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,
Source§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,
Source§impl Wire for WireU64
impl Wire for WireU64
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 WireU64
impl Eq for WireU64
impl Unconstrained for WireU64
Auto Trait Implementations§
impl Freeze for WireU64
impl RefUnwindSafe for WireU64
impl Send for WireU64
impl Sync for WireU64
impl Unpin for WireU64
impl UnwindSafe for WireU64
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Constrained for Twhere
T: Unconstrained,
impl<T> Constrained for Twhere
T: Unconstrained,
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T, W> FromWireOption<WireBox<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<WireBox<'_, W>> for Twhere
T: FromWire<W>,
Source§fn from_wire_option(wire: WireBox<'_, W>) -> Option<T>
fn from_wire_option(wire: WireBox<'_, W>) -> Option<T>
Converts the given
wire to an option of this type.Source§impl<T, W> FromWireOptionRef<WireBox<'_, W>> for Twhere
T: FromWireRef<W>,
impl<T, W> FromWireOptionRef<WireBox<'_, W>> for Twhere
T: FromWireRef<W>,
Source§fn from_wire_option_ref(wire: &WireBox<'_, W>) -> Option<T>
fn from_wire_option_ref(wire: &WireBox<'_, W>) -> Option<T>
Converts the given
wire reference to an option of this type.