Struct fidl_fuchsia_overnet::HostOvernetProxy
source · pub struct HostOvernetProxy { /* private fields */ }
Implementations§
source§impl HostOvernetProxy
impl HostOvernetProxy
sourcepub fn take_event_stream(&self) -> HostOvernetEventStream
pub fn take_event_stream(&self) -> HostOvernetEventStream
Get a Stream of events from the remote end of the HostOvernet protocol
Panics
Panics if the event stream was already taken.
pub fn connect_service_consumer( &self, svc: ServerEnd<ServiceConsumerMarker> ) -> Result<(), Error>
pub fn connect_service_publisher( &self, svc: ServerEnd<ServicePublisherMarker> ) -> Result<(), Error>
pub fn connect_mesh_controller( &self, svc: ServerEnd<MeshControllerMarker> ) -> Result<(), Error>
Trait Implementations§
source§impl Clone for HostOvernetProxy
impl Clone for HostOvernetProxy
source§fn clone(&self) -> HostOvernetProxy
fn clone(&self) -> HostOvernetProxy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for HostOvernetProxy
impl Debug for HostOvernetProxy
source§impl HostOvernetProxyInterface for HostOvernetProxy
impl HostOvernetProxyInterface for HostOvernetProxy
fn connect_service_consumer( &self, svc: ServerEnd<ServiceConsumerMarker> ) -> Result<(), Error>
fn connect_service_publisher( &self, svc: ServerEnd<ServicePublisherMarker> ) -> Result<(), Error>
fn connect_mesh_controller( &self, svc: ServerEnd<MeshControllerMarker> ) -> Result<(), Error>
source§impl Proxy for HostOvernetProxy
impl Proxy for HostOvernetProxy
§type Protocol = HostOvernetMarker
type Protocol = HostOvernetMarker
The protocol which this
Proxy
controls.source§fn from_channel(inner: AsyncChannel) -> Self
fn from_channel(inner: AsyncChannel) -> Self
Create a proxy over the given channel.
source§fn into_channel(self) -> Result<AsyncChannel, Self>
fn into_channel(self) -> Result<AsyncChannel, Self>
Attempt to convert the proxy back into a channel. Read more
source§fn as_channel(&self) -> &AsyncChannel
fn as_channel(&self) -> &AsyncChannel
Get a reference to the proxy’s underlying channel. Read more