Struct libp2p::gossipsub::MessageId[][src]

pub struct MessageId(_);

A type for gossipsub message ids.

Implementations

impl MessageId[src]

pub fn new(value: &[u8]) -> MessageId[src]

Trait Implementations

impl Clone for MessageId[src]

impl Debug for MessageId[src]

impl Display for MessageId[src]

impl Eq for MessageId[src]

impl<T> From<T> for MessageId where
    T: Into<Vec<u8, Global>>, 
[src]

impl Hash for MessageId[src]

impl Ord for MessageId[src]

impl PartialEq<MessageId> for MessageId[src]

impl PartialOrd<MessageId> for MessageId[src]

impl StructuralEq for MessageId[src]

impl StructuralPartialEq for MessageId[src]

Auto Trait Implementations

impl RefUnwindSafe for MessageId

impl Send for MessageId

impl Sync for MessageId

impl Unpin for MessageId

impl UnwindSafe for MessageId

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CallHasher for T where
    T: Hash
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]