pub enum NetworkNotification {
Show 22 variants
NewListenAddr(NewListenAddr),
ConnnectionEstablished(ConnectionEstablished),
ConnnectionClosed(ConnectionClosed),
OutgoingConnectionError(OutgoingConnectionError),
IncomingConnectionError(IncomingConnectionError),
DiscoveredMdns(DiscoveredMdns),
DiscoveredRendezvous(DiscoveredRendezvous),
RegisteredRendezvous(RegisteredRendezvous),
DiscoverServedRendezvous(DiscoverServedRendezvous),
PeerRegisteredRendezvous(PeerRegisteredRendezvous),
PublishedReceiptPubsub(PublishedReceiptPubsub),
ReceivedReceiptPubsub(ReceivedReceiptPubsub),
PutReceiptDht(PutReceiptDht),
GotReceiptDht(GotReceiptDht),
PutWorkflowInfoDht(PutWorkflowInfoDht),
GotWorkflowInfoDht(GotWorkflowInfoDht),
ReceiptQuorumSuccessDht(ReceiptQuorumSuccessDht),
ReceiptQuorumFailureDht(ReceiptQuorumFailureDht),
WorkflowInfoQuorumSuccessDht(WorkflowInfoQuorumSuccessDht),
WorkflowInfoQuorumFailureDht(WorkflowInfoQuorumFailureDht),
SentWorkflowInfo(SentWorkflowInfo),
ReceivedWorkflowInfo(ReceivedWorkflowInfo),
}Expand description
Network notification type.
Variants§
NewListenAddr(NewListenAddr)
Listening on new address notification.
ConnnectionEstablished(ConnectionEstablished)
Connection established notification.
ConnnectionClosed(ConnectionClosed)
Connection closed notification.
OutgoingConnectionError(OutgoingConnectionError)
Outgoing conenction error notification.
IncomingConnectionError(IncomingConnectionError)
Incoming conenction error notification.
DiscoveredMdns(DiscoveredMdns)
mDNS discovered notification.
DiscoveredRendezvous(DiscoveredRendezvous)
Rendezvous client discovered notification.
RegisteredRendezvous(RegisteredRendezvous)
Rendezvous client discovered notification.
DiscoverServedRendezvous(DiscoverServedRendezvous)
Rendezvous discover served notification.
PeerRegisteredRendezvous(PeerRegisteredRendezvous)
Rendezvous peer registered notification.
PublishedReceiptPubsub(PublishedReceiptPubsub)
Published receipt pubsub notification.
ReceivedReceiptPubsub(ReceivedReceiptPubsub)
Received receipt pubsub notification.
PutReceiptDht(PutReceiptDht)
Put receipt DHT notification.
GotReceiptDht(GotReceiptDht)
Got receipt DHT notification.
PutWorkflowInfoDht(PutWorkflowInfoDht)
Put workflow info DHT notification.
GotWorkflowInfoDht(GotWorkflowInfoDht)
Put workflow info DHT notification.
ReceiptQuorumSuccessDht(ReceiptQuorumSuccessDht)
Receipt quorum success notification.
ReceiptQuorumFailureDht(ReceiptQuorumFailureDht)
Receipt quorum failure notification.
WorkflowInfoQuorumSuccessDht(WorkflowInfoQuorumSuccessDht)
Workflow info quorum success notification.
WorkflowInfoQuorumFailureDht(WorkflowInfoQuorumFailureDht)
Workflow info quorum failure notification.
SentWorkflowInfo(SentWorkflowInfo)
Sent workflow info notification.
ReceivedWorkflowInfo(ReceivedWorkflowInfo)
Received workflow info notification.
Trait Implementations§
source§impl Clone for NetworkNotification
impl Clone for NetworkNotification
source§fn clone(&self) -> NetworkNotification
fn clone(&self) -> NetworkNotification
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl DagJson for NetworkNotification
impl DagJson for NetworkNotification
source§impl Debug for NetworkNotification
impl Debug for NetworkNotification
source§impl Display for NetworkNotification
impl Display for NetworkNotification
source§impl From<NetworkNotification> for Ipld
impl From<NetworkNotification> for Ipld
source§fn from(notification: NetworkNotification) -> Self
fn from(notification: NetworkNotification) -> Self
source§impl JsonSchema for NetworkNotification
impl JsonSchema for NetworkNotification
source§fn schema_name() -> String
fn schema_name() -> String
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read moreAuto Trait Implementations§
impl RefUnwindSafe for NetworkNotification
impl Send for NetworkNotification
impl Sync for NetworkNotification
impl Unpin for NetworkNotification
impl UnwindSafe for NetworkNotification
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
self file descriptor.§fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
self to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
&self to an expression for Diesel’s query builder. Read more§impl<D> OwoColorize for D
impl<D> OwoColorize for D
§fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
§fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
§fn on_yellow<'a>(&'a self) -> BgColorDisplay<'a, Yellow, Self>
fn on_yellow<'a>(&'a self) -> BgColorDisplay<'a, Yellow, Self>
§fn magenta<'a>(&'a self) -> FgColorDisplay<'a, Magenta, Self>
fn magenta<'a>(&'a self) -> FgColorDisplay<'a, Magenta, Self>
§fn on_magenta<'a>(&'a self) -> BgColorDisplay<'a, Magenta, Self>
fn on_magenta<'a>(&'a self) -> BgColorDisplay<'a, Magenta, Self>
§fn on_purple<'a>(&'a self) -> BgColorDisplay<'a, Magenta, Self>
fn on_purple<'a>(&'a self) -> BgColorDisplay<'a, Magenta, Self>
§fn default_color<'a>(&'a self) -> FgColorDisplay<'a, Default, Self>
fn default_color<'a>(&'a self) -> FgColorDisplay<'a, Default, Self>
§fn on_default_color<'a>(&'a self) -> BgColorDisplay<'a, Default, Self>
fn on_default_color<'a>(&'a self) -> BgColorDisplay<'a, Default, Self>
§fn bright_black<'a>(&'a self) -> FgColorDisplay<'a, BrightBlack, Self>
fn bright_black<'a>(&'a self) -> FgColorDisplay<'a, BrightBlack, Self>
§fn on_bright_black<'a>(&'a self) -> BgColorDisplay<'a, BrightBlack, Self>
fn on_bright_black<'a>(&'a self) -> BgColorDisplay<'a, BrightBlack, Self>
§fn bright_red<'a>(&'a self) -> FgColorDisplay<'a, BrightRed, Self>
fn bright_red<'a>(&'a self) -> FgColorDisplay<'a, BrightRed, Self>
§fn on_bright_red<'a>(&'a self) -> BgColorDisplay<'a, BrightRed, Self>
fn on_bright_red<'a>(&'a self) -> BgColorDisplay<'a, BrightRed, Self>
§fn bright_green<'a>(&'a self) -> FgColorDisplay<'a, BrightGreen, Self>
fn bright_green<'a>(&'a self) -> FgColorDisplay<'a, BrightGreen, Self>
§fn on_bright_green<'a>(&'a self) -> BgColorDisplay<'a, BrightGreen, Self>
fn on_bright_green<'a>(&'a self) -> BgColorDisplay<'a, BrightGreen, Self>
§fn bright_yellow<'a>(&'a self) -> FgColorDisplay<'a, BrightYellow, Self>
fn bright_yellow<'a>(&'a self) -> FgColorDisplay<'a, BrightYellow, Self>
§fn on_bright_yellow<'a>(&'a self) -> BgColorDisplay<'a, BrightYellow, Self>
fn on_bright_yellow<'a>(&'a self) -> BgColorDisplay<'a, BrightYellow, Self>
§fn bright_blue<'a>(&'a self) -> FgColorDisplay<'a, BrightBlue, Self>
fn bright_blue<'a>(&'a self) -> FgColorDisplay<'a, BrightBlue, Self>
§fn on_bright_blue<'a>(&'a self) -> BgColorDisplay<'a, BrightBlue, Self>
fn on_bright_blue<'a>(&'a self) -> BgColorDisplay<'a, BrightBlue, Self>
§fn bright_magenta<'a>(&'a self) -> FgColorDisplay<'a, BrightMagenta, Self>
fn bright_magenta<'a>(&'a self) -> FgColorDisplay<'a, BrightMagenta, Self>
§fn on_bright_magenta<'a>(&'a self) -> BgColorDisplay<'a, BrightMagenta, Self>
fn on_bright_magenta<'a>(&'a self) -> BgColorDisplay<'a, BrightMagenta, Self>
§fn bright_purple<'a>(&'a self) -> FgColorDisplay<'a, BrightMagenta, Self>
fn bright_purple<'a>(&'a self) -> FgColorDisplay<'a, BrightMagenta, Self>
§fn on_bright_purple<'a>(&'a self) -> BgColorDisplay<'a, BrightMagenta, Self>
fn on_bright_purple<'a>(&'a self) -> BgColorDisplay<'a, BrightMagenta, Self>
§fn bright_cyan<'a>(&'a self) -> FgColorDisplay<'a, BrightCyan, Self>
fn bright_cyan<'a>(&'a self) -> FgColorDisplay<'a, BrightCyan, Self>
§fn on_bright_cyan<'a>(&'a self) -> BgColorDisplay<'a, BrightCyan, Self>
fn on_bright_cyan<'a>(&'a self) -> BgColorDisplay<'a, BrightCyan, Self>
§fn bright_white<'a>(&'a self) -> FgColorDisplay<'a, BrightWhite, Self>
fn bright_white<'a>(&'a self) -> FgColorDisplay<'a, BrightWhite, Self>
§fn on_bright_white<'a>(&'a self) -> BgColorDisplay<'a, BrightWhite, Self>
fn on_bright_white<'a>(&'a self) -> BgColorDisplay<'a, BrightWhite, Self>
§fn blink_fast<'a>(&'a self) -> BlinkFastDisplay<'a, Self>
fn blink_fast<'a>(&'a self) -> BlinkFastDisplay<'a, Self>
§fn strikethrough<'a>(&'a self) -> StrikeThroughDisplay<'a, Self>
fn strikethrough<'a>(&'a self) -> StrikeThroughDisplay<'a, Self>
§fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
OwoColorize::fg or
a color-specific method, such as OwoColorize::green, Read more§fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
OwoColorize::bg or
a color-specific method, such as OwoColorize::on_yellow, Read more