fidl_fuchsia_hardware_networkTrait PortProxyInterface
Source pub trait PortProxyInterface: Send + Sync {
type GetInfoResponseFut: Future<Output = Result<PortInfo, Error>> + Send;
type GetStatusResponseFut: Future<Output = Result<PortStatus, Error>> + Send;
type GetCountersResponseFut: Future<Output = Result<PortGetCountersResponse, Error>> + Send;
// Required methods
fn get_info(&self) -> Self::GetInfoResponseFut;
fn get_status(&self) -> Self::GetStatusResponseFut;
fn get_status_watcher(
&self,
watcher: ServerEnd<StatusWatcherMarker>,
buffer: u32,
) -> Result<(), Error>;
fn get_mac(&self, mac: ServerEnd<MacAddressingMarker>) -> Result<(), Error>;
fn get_device(&self, device: ServerEnd<DeviceMarker>) -> Result<(), Error>;
fn clone(&self, port: ServerEnd<PortMarker>) -> Result<(), Error>;
fn get_counters(&self) -> Self::GetCountersResponseFut;
fn get_diagnostics(
&self,
diagnostics: ServerEnd<DiagnosticsMarker>,
) -> Result<(), Error>;
}