pub struct RunNetworkDiagnostics;Expand description
ask this node to run diagnostics & return the result. present even without the net_diagnostics feature flag because the request struct is empty in both cases
Trait Implementations§
Source§impl Channels<ClientHostProtocol> for RunNetworkDiagnostics
impl Channels<ClientHostProtocol> for RunNetworkDiagnostics
Source§type Tx = Sender<Result<DiagnosticsReport, RemoteError>>
type Tx = Sender<Result<DiagnosticsReport, RemoteError>>
The sender type, can be either mpsc, oneshot or none
Source§impl Debug for RunNetworkDiagnostics
impl Debug for RunNetworkDiagnostics
Source§impl<'de> Deserialize<'de> for RunNetworkDiagnostics
impl<'de> Deserialize<'de> for RunNetworkDiagnostics
Source§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
Source§impl From<RunNetworkDiagnostics> for ClientHostProtocol
impl From<RunNetworkDiagnostics> for ClientHostProtocol
Source§fn from(value: RunNetworkDiagnostics) -> Self
fn from(value: RunNetworkDiagnostics) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RunNetworkDiagnostics
impl RefUnwindSafe for RunNetworkDiagnostics
impl Send for RunNetworkDiagnostics
impl Sync for RunNetworkDiagnostics
impl Unpin for RunNetworkDiagnostics
impl UnwindSafe for RunNetworkDiagnostics
Blanket Implementations§
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
Mutably borrows from an owned value. Read more