Struct ipfs_embed::ListenerId [−]
pub struct ListenerId(_);
Expand description
The ID of a single listener.
It is part of most [ListenersEvent]s and can be used to remove
individual listeners from the [ListenersStream].
Trait Implementations
impl Clone for ListenerId
impl Clone for ListenerIdpub fn clone(&self) -> ListenerId
pub fn clone(&self) -> ListenerIdReturns a copy of the value. Read more
Performs copy-assignment from source. Read more
impl Debug for ListenerId
impl Debug for ListenerIdimpl Hash for ListenerId
impl Hash for ListenerIdimpl Ord for ListenerId
impl Ord for ListenerIdpub fn cmp(&self, other: &ListenerId) -> Ordering
pub fn cmp(&self, other: &ListenerId) -> OrderingCompares and returns the maximum of two values. Read more
Compares and returns the minimum of two values. Read more
impl PartialEq<ListenerId> for ListenerId
impl PartialEq<ListenerId> for ListenerIdpub fn eq(&self, other: &ListenerId) -> bool
pub fn eq(&self, other: &ListenerId) -> boolThis method tests for self and other values to be equal, and is used
by ==. Read more
pub fn ne(&self, other: &ListenerId) -> bool
pub fn ne(&self, other: &ListenerId) -> boolThis method tests for !=.
impl PartialOrd<ListenerId> for ListenerId
impl PartialOrd<ListenerId> for ListenerIdpub fn partial_cmp(&self, other: &ListenerId) -> Option<Ordering>
pub fn partial_cmp(&self, other: &ListenerId) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
impl Copy for ListenerIdimpl Eq for ListenerIdimpl StructuralEq for ListenerIdimpl StructuralPartialEq for ListenerIdAuto Trait Implementations
impl RefUnwindSafe for ListenerIdimpl Send for ListenerIdimpl Sync for ListenerIdimpl Unpin for ListenerIdimpl UnwindSafe for ListenerIdBlanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::MetadataConverts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash, pub fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
pub fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>Deserializes using the given deserializer
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V