pub enum ClientHostProtocol {
Auth(Auth),
RunNetworkDiagnostics(RunNetworkDiagnostics),
}Expand description
Dedicated protocol for cloud-to-endpoint net diagnostics connections.
Variants§
Auth(Auth)
RunNetworkDiagnostics(RunNetworkDiagnostics)
Trait Implementations§
Source§impl Channels<ClientHostProtocol> for Auth
impl Channels<ClientHostProtocol> for Auth
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 ClientHostProtocol
impl Debug for ClientHostProtocol
Source§impl<'de> Deserialize<'de> for ClientHostProtocol
impl<'de> Deserialize<'de> for ClientHostProtocol
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<Auth> for ClientHostProtocol
impl From<Auth> for ClientHostProtocol
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.
Source§impl RemoteService for ClientHostProtocol
impl RemoteService for ClientHostProtocol
Source§fn with_remote_channels(self, rx: RecvStream, tx: SendStream) -> Self::Message
fn with_remote_channels(self, rx: RecvStream, tx: SendStream) -> Self::Message
Returns the message enum for this request by combining
self (the protocol enum)
with a pair of QUIC streams for tx and rx channels.Source§impl Serialize for ClientHostProtocol
impl Serialize for ClientHostProtocol
Source§impl Service for ClientHostProtocol
impl Service for ClientHostProtocol
Source§type Message = NetDiagnosticsMessage
type Message = NetDiagnosticsMessage
Message enum for this protocol. Read more
Auto Trait Implementations§
impl Freeze for ClientHostProtocol
impl RefUnwindSafe for ClientHostProtocol
impl Send for ClientHostProtocol
impl Sync for ClientHostProtocol
impl Unpin for ClientHostProtocol
impl UnwindSafe for ClientHostProtocol
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