fidl_fuchsia_netemul_testTrait CounterProxyInterface
Source pub trait CounterProxyInterface: Send + Sync {
type IncrementResponseFut: Future<Output = Result<u32, Error>> + Send;
type TryOpenDirectoryResponseFut: Future<Output = Result<CounterTryOpenDirectoryResult, Error>> + Send;
// Required methods
fn increment(&self) -> Self::IncrementResponseFut;
fn connect_to_protocol(
&self,
protocol_name: &str,
request: Channel,
) -> Result<(), Error>;
fn open_in_namespace(
&self,
path: &str,
flags: Flags,
request: Channel,
) -> Result<(), Error>;
fn try_open_directory(
&self,
path: &str,
) -> Self::TryOpenDirectoryResponseFut;
}