Struct fidl_fuchsia_sl4f_ffx::Sl4fBridgeProxy
source · pub struct Sl4fBridgeProxy { /* private fields */ }
Implementations§
source§impl Sl4fBridgeProxy
impl Sl4fBridgeProxy
sourcepub fn new(channel: AsyncChannel) -> Self
pub fn new(channel: AsyncChannel) -> Self
Create a new Proxy for Sl4fBridge
sourcepub fn take_event_stream(&self) -> Sl4fBridgeEventStream
pub fn take_event_stream(&self) -> Sl4fBridgeEventStream
Get a Stream of events from the remote end of the Sl4fBridge protocol
Panics
Panics if the event stream was already taken.
sourcepub fn execute(
&self,
target_query: TargetQuery,
value: &str
) -> QueryResponseFut<String>
pub fn execute( &self, target_query: TargetQuery, value: &str ) -> QueryResponseFut<String>
Execute passes commands from the SL4F host-side server to the client-side server and on to the SL4F component.
Trait Implementations§
source§impl Clone for Sl4fBridgeProxy
impl Clone for Sl4fBridgeProxy
source§fn clone(&self) -> Sl4fBridgeProxy
fn clone(&self) -> Sl4fBridgeProxy
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 Sl4fBridgeProxy
impl Debug for Sl4fBridgeProxy
source§impl Proxy for Sl4fBridgeProxy
impl Proxy for Sl4fBridgeProxy
§type Protocol = Sl4fBridgeMarker
type Protocol = Sl4fBridgeMarker
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