Enum ipfs_embed::ListenerEvent
source · [−]pub enum ListenerEvent {
NewListenAddr(Multiaddr),
ExpiredListenAddr(Multiaddr),
ListenFailed(Multiaddr, String),
}
Variants
NewListenAddr(Multiaddr)
ExpiredListenAddr(Multiaddr)
ListenFailed(Multiaddr, String)
Trait Implementations
sourceimpl Clone for ListenerEvent
impl Clone for ListenerEvent
sourcefn clone(&self) -> ListenerEvent
fn clone(&self) -> ListenerEvent
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ListenerEvent
impl Debug for ListenerEvent
sourceimpl PartialEq<ListenerEvent> for ListenerEvent
impl PartialEq<ListenerEvent> for ListenerEvent
sourcefn eq(&self, other: &ListenerEvent) -> bool
fn eq(&self, other: &ListenerEvent) -> bool
impl Eq for ListenerEvent
impl StructuralEq for ListenerEvent
impl StructuralPartialEq for ListenerEvent
Auto Trait Implementations
impl RefUnwindSafe for ListenerEvent
impl Send for ListenerEvent
impl Sync for ListenerEvent
impl Unpin for ListenerEvent
impl UnwindSafe for ListenerEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more