pub struct ServiceBProxy { /* private fields */ }
Implementations§
source§impl ServiceBProxy
impl ServiceBProxy
sourcepub fn new(channel: AsyncChannel) -> Self
pub fn new(channel: AsyncChannel) -> Self
Create a new Proxy for fuchsia.component.client.test/ServiceB.
sourcepub fn take_event_stream(&self) -> ServiceBEventStream
pub fn take_event_stream(&self) -> ServiceBEventStream
Get a Stream of events from the remote end of the protocol.
§Panics
Panics if the event stream was already taken.
sourcepub fn foo(&self) -> QueryResponseFut<()>
pub fn foo(&self) -> QueryResponseFut<()>
Does nothing.
Trait Implementations§
source§impl Clone for ServiceBProxy
impl Clone for ServiceBProxy
source§fn clone(&self) -> ServiceBProxy
fn clone(&self) -> ServiceBProxy
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 ServiceBProxy
impl Debug for ServiceBProxy
source§impl Proxy for ServiceBProxy
impl Proxy for ServiceBProxy
§type Protocol = ServiceBMarker
type Protocol = ServiceBMarker
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
source§impl ServiceBProxyInterface for ServiceBProxy
impl ServiceBProxyInterface for ServiceBProxy
type FooResponseFut = QueryResponseFut<()>
fn foo(&self) -> Self::FooResponseFut
Auto Trait Implementations§
impl Freeze for ServiceBProxy
impl !RefUnwindSafe for ServiceBProxy
impl Send for ServiceBProxy
impl Sync for ServiceBProxy
impl Unpin for ServiceBProxy
impl !UnwindSafe for ServiceBProxy
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more