pub enum N0desProtocol {
Auth(Auth),
PutMetrics(PutMetrics),
Ping(Ping),
}
Variants§
Trait Implementations§
Source§impl Channels<N0desProtocol> for Auth
impl Channels<N0desProtocol> for Auth
Source§impl Channels<N0desProtocol> for Ping
impl Channels<N0desProtocol> for Ping
Source§impl Channels<N0desProtocol> for PutMetrics
impl Channels<N0desProtocol> for PutMetrics
Source§impl Debug for N0desProtocol
impl Debug for N0desProtocol
Source§impl<'de> Deserialize<'de> for N0desProtocol
impl<'de> Deserialize<'de> for N0desProtocol
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 N0desProtocol
impl From<Auth> for N0desProtocol
Source§impl From<Ping> for N0desProtocol
impl From<Ping> for N0desProtocol
Source§impl From<PutMetrics> for N0desProtocol
impl From<PutMetrics> for N0desProtocol
Source§fn from(value: PutMetrics) -> Self
fn from(value: PutMetrics) -> Self
Converts to this type from the input type.
Source§impl RemoteService for N0desProtocol
impl RemoteService for N0desProtocol
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 N0desProtocol
impl Serialize for N0desProtocol
Source§impl Service for N0desProtocol
impl Service for N0desProtocol
Source§type Message = N0desMessage
type Message = N0desMessage
Message enum for this protocol. Read more
Auto Trait Implementations§
impl Freeze for N0desProtocol
impl RefUnwindSafe for N0desProtocol
impl Send for N0desProtocol
impl Sync for N0desProtocol
impl Unpin for N0desProtocol
impl UnwindSafe for N0desProtocol
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