Struct ckb_network::network::EventHandler[][src]

pub struct EventHandler<T> { /* fields omitted */ }
Expand description

Used to handle global events of tentacle, such as session open/close

Trait Implementations

Handling runtime errors

Handling session establishment and disconnection events

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

TODO(doc): @quake

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.