pub enum ServicesMessage {
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 ServicesMessage
impl ServicesMessage
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 ServicesMessage
impl Debug for ServicesMessage
Source§impl From<WithChannels<Auth, IrohServicesProtocol>> for ServicesMessage
impl From<WithChannels<Auth, IrohServicesProtocol>> for ServicesMessage
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 ServicesMessage
impl From<WithChannels<GrantCap, IrohServicesProtocol>> for ServicesMessage
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 ServicesMessage
impl From<WithChannels<Ping, IrohServicesProtocol>> for ServicesMessage
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 ServicesMessage
impl From<WithChannels<PutMetrics, IrohServicesProtocol>> for ServicesMessage
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 ServicesMessage
impl From<WithChannels<PutNetworkDiagnostics, IrohServicesProtocol>> for ServicesMessage
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 ServicesMessage
impl !RefUnwindSafe for ServicesMessage
impl Send for ServicesMessage
impl Sync for ServicesMessage
impl Unpin for ServicesMessage
impl !UnwindSafe for ServicesMessage
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