#[repr(u64)]pub enum MultihashCode {
PieceIndex = 11_770_128,
}Expand description
Subspace Network multihash codes.
Variants§
PieceIndex = 11_770_128
Piece index code.
Trait Implementations§
Source§impl Clone for MultihashCode
impl Clone for MultihashCode
Source§fn clone(&self) -> MultihashCode
fn clone(&self) -> MultihashCode
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 MultihashCode
impl Debug for MultihashCode
Source§impl From<MultihashCode> for u64
impl From<MultihashCode> for u64
Source§fn from(code: MultihashCode) -> Self
fn from(code: MultihashCode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MultihashCode
impl PartialEq for MultihashCode
Source§impl TryFrom<u64> for MultihashCode
impl TryFrom<u64> for MultihashCode
impl StructuralPartialEq for MultihashCode
Auto Trait Implementations§
impl Freeze for MultihashCode
impl RefUnwindSafe for MultihashCode
impl Send for MultihashCode
impl Sync for MultihashCode
impl Unpin for MultihashCode
impl UnwindSafe for MultihashCode
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more