Trait HasTransportApi
pub trait HasTransportApi {
type Transport: TransportOperations;
// Required methods
fn transport(&self) -> &Self::Transport;
fn status(&self) -> ComponentStatus;
}Expand description
Provides access to transport-level operations (ping, peer observations).
Required Associated Types§
type Transport: TransportOperations
type Transport: TransportOperations
The concrete TransportOperations implementation.
Required Methods§
fn status(&self) -> ComponentStatus
fn status(&self) -> ComponentStatus
Reports the current health of the transport component.