fidl_fuchsia_net_tunTrait PortProxyInterface
Source pub trait PortProxyInterface: Send + Sync {
type GetStateResponseFut: Future<Output = Result<InternalState, Error>> + Send;
type WatchStateResponseFut: Future<Output = Result<InternalState, Error>> + Send;
type SetOnlineResponseFut: Future<Output = Result<(), Error>> + Send;
// Required methods
fn get_state(&self) -> Self::GetStateResponseFut;
fn watch_state(&self) -> Self::WatchStateResponseFut;
fn set_online(&self, online: bool) -> Self::SetOnlineResponseFut;
fn get_port(&self, port: ServerEnd<PortMarker>) -> Result<(), Error>;
fn remove(&self) -> Result<(), Error>;
}