pub enum IrohServicesMessage {
Auth(WithChannels<Auth, IrohServicesProtocol>),
PutMetrics(WithChannels<PutMetrics, IrohServicesProtocol>),
Ping(WithChannels<Ping, IrohServicesProtocol>),
PutNetworkDiagnostics(WithChannels<PutNetworkDiagnostics, IrohServicesProtocol>),
GrantCap(WithChannels<GrantCap, IrohServicesProtocol>),
}Expand description
Message enum for IrohServicesProtocol
Variants§
Auth(WithChannels<Auth, IrohServicesProtocol>)
PutMetrics(WithChannels<PutMetrics, IrohServicesProtocol>)
Ping(WithChannels<Ping, IrohServicesProtocol>)
PutNetworkDiagnostics(WithChannels<PutNetworkDiagnostics, IrohServicesProtocol>)
GrantCap(WithChannels<GrantCap, IrohServicesProtocol>)
Implementations§
Source§impl IrohServicesMessage
impl IrohServicesMessage
Sourcepub fn parent_span(&self) -> Span
pub fn parent_span(&self) -> Span
Get the parent span of the message
Trait Implementations§
Source§impl Debug for IrohServicesMessage
impl Debug for IrohServicesMessage
Source§impl From<WithChannels<Auth, IrohServicesProtocol>> for IrohServicesMessage
impl From<WithChannels<Auth, IrohServicesProtocol>> for IrohServicesMessage
Source§fn from(value: WithChannels<Auth, IrohServicesProtocol>) -> Self
fn from(value: WithChannels<Auth, IrohServicesProtocol>) -> Self
Converts to this type from the input type.
Source§impl From<WithChannels<GrantCap, IrohServicesProtocol>> for IrohServicesMessage
impl From<WithChannels<GrantCap, IrohServicesProtocol>> for IrohServicesMessage
Source§fn from(value: WithChannels<GrantCap, IrohServicesProtocol>) -> Self
fn from(value: WithChannels<GrantCap, IrohServicesProtocol>) -> Self
Converts to this type from the input type.
Source§impl From<WithChannels<Ping, IrohServicesProtocol>> for IrohServicesMessage
impl From<WithChannels<Ping, IrohServicesProtocol>> for IrohServicesMessage
Source§fn from(value: WithChannels<Ping, IrohServicesProtocol>) -> Self
fn from(value: WithChannels<Ping, IrohServicesProtocol>) -> Self
Converts to this type from the input type.
Source§impl From<WithChannels<PutMetrics, IrohServicesProtocol>> for IrohServicesMessage
impl From<WithChannels<PutMetrics, IrohServicesProtocol>> for IrohServicesMessage
Source§fn from(value: WithChannels<PutMetrics, IrohServicesProtocol>) -> Self
fn from(value: WithChannels<PutMetrics, IrohServicesProtocol>) -> Self
Converts to this type from the input type.
Source§impl From<WithChannels<PutNetworkDiagnostics, IrohServicesProtocol>> for IrohServicesMessage
impl From<WithChannels<PutNetworkDiagnostics, IrohServicesProtocol>> for IrohServicesMessage
Source§fn from(
value: WithChannels<PutNetworkDiagnostics, IrohServicesProtocol>,
) -> Self
fn from( value: WithChannels<PutNetworkDiagnostics, IrohServicesProtocol>, ) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IrohServicesMessage
impl !RefUnwindSafe for IrohServicesMessage
impl Send for IrohServicesMessage
impl Sync for IrohServicesMessage
impl Unpin for IrohServicesMessage
impl !UnwindSafe for IrohServicesMessage
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