Enum network::protocols::health_checker::HealthCheckerMsg [−][src]
Variants
Ping(Ping)Tuple Fields of Ping
0: PingPong(Pong)Tuple Fields of Pong
0: PongTrait Implementations
Send a HealthChecker Ping RPC request to remote peer recipient. Returns
the remote peer’s future Pong reply.
The rpc request can be canceled at any point by dropping the returned future.
fn send_to_many(
&self,
_recipients: impl Iterator<Item = PeerId>,
_message: TMessage
) -> Result<(), NetworkError>
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for HealthCheckerMsg
impl Send for HealthCheckerMsg
impl Sync for HealthCheckerMsg
impl Unpin for HealthCheckerMsg
impl UnwindSafe for HealthCheckerMsg
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self
Generates a hash used only for tests.