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