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 ListenerId
pub fn clone(&self) -> ListenerId
pub fn clone(&self) -> ListenerId
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for ListenerId
impl Debug for ListenerId
impl Hash for ListenerId
impl Hash for ListenerId
impl Ord for ListenerId
impl Ord for ListenerId
pub fn cmp(&self, other: &ListenerId) -> Ordering
pub fn cmp(&self, other: &ListenerId) -> Ordering
Compares 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 ListenerId
pub fn eq(&self, other: &ListenerId) -> bool
pub fn eq(&self, other: &ListenerId) -> bool
This 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) -> bool
This method tests for !=
.
impl PartialOrd<ListenerId> for ListenerId
impl PartialOrd<ListenerId> for ListenerId
pub 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 ListenerId
impl Eq for ListenerId
impl StructuralEq for ListenerId
impl StructuralPartialEq for ListenerId
Auto Trait Implementations
impl RefUnwindSafe for ListenerId
impl Send for ListenerId
impl Sync for ListenerId
impl Unpin for ListenerId
impl UnwindSafe for ListenerId
Blanket 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>::Metadata
Converts 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 = T
Should always be Self
pub fn vzip(self) -> V