Struct fidl_fuchsia_compat_runtime::LeafProxy
source · pub struct LeafProxy { /* private fields */ }
Implementations§
source§impl LeafProxy
impl LeafProxy
sourcepub fn take_event_stream(&self) -> LeafEventStream
pub fn take_event_stream(&self) -> LeafEventStream
Get a Stream of events from the remote end of the Leaf protocol
Panics
Panics if the event stream was already taken.
pub fn get_string(&self) -> QueryResponseFut<String>
Trait Implementations§
source§impl LeafProxyInterface for LeafProxy
impl LeafProxyInterface for LeafProxy
type GetStringResponseFut = QueryResponseFut<String>
fn get_string(&self) -> Self::GetStringResponseFut
source§impl Proxy for LeafProxy
impl Proxy for LeafProxy
§type Protocol = LeafMarker
type Protocol = LeafMarker
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