Struct fidl_fidl_clientsuite::OpenTargetProxy
source · pub struct OpenTargetProxy { /* private fields */ }
Implementations§
source§impl OpenTargetProxy
impl OpenTargetProxy
sourcepub fn new(channel: AsyncChannel) -> Self
pub fn new(channel: AsyncChannel) -> Self
Create a new Proxy for fidl.clientsuite/OpenTarget.
sourcepub fn take_event_stream(&self) -> OpenTargetEventStream
pub fn take_event_stream(&self) -> OpenTargetEventStream
Get a Stream of events from the remote end of the protocol.
§Panics
Panics if the event stream was already taken.
pub fn strict_one_way(&self) -> Result<(), Error>
pub fn flexible_one_way(&self) -> Result<(), Error>
pub fn strict_two_way( &self, ) -> QueryResponseFut<(), DefaultFuchsiaResourceDialect>
pub fn strict_two_way_fields( &self, ) -> QueryResponseFut<i32, DefaultFuchsiaResourceDialect>
pub fn strict_two_way_err( &self, ) -> QueryResponseFut<OpenTargetStrictTwoWayErrResult, DefaultFuchsiaResourceDialect>
pub fn strict_two_way_fields_err( &self, ) -> QueryResponseFut<OpenTargetStrictTwoWayFieldsErrResult, DefaultFuchsiaResourceDialect>
pub fn flexible_two_way( &self, ) -> QueryResponseFut<(), DefaultFuchsiaResourceDialect>
pub fn flexible_two_way_fields( &self, ) -> QueryResponseFut<i32, DefaultFuchsiaResourceDialect>
pub fn flexible_two_way_err( &self, ) -> QueryResponseFut<OpenTargetFlexibleTwoWayErrResult, DefaultFuchsiaResourceDialect>
pub fn flexible_two_way_fields_err( &self, ) -> QueryResponseFut<OpenTargetFlexibleTwoWayFieldsErrResult, DefaultFuchsiaResourceDialect>
Trait Implementations§
source§impl Clone for OpenTargetProxy
impl Clone for OpenTargetProxy
source§fn clone(&self) -> OpenTargetProxy
fn clone(&self) -> OpenTargetProxy
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 OpenTargetProxy
impl Debug for OpenTargetProxy
source§impl OpenTargetProxyInterface for OpenTargetProxy
impl OpenTargetProxyInterface for OpenTargetProxy
fn strict_one_way(&self) -> Result<(), Error>
fn flexible_one_way(&self) -> Result<(), Error>
type StrictTwoWayResponseFut = QueryResponseFut<()>
fn strict_two_way(&self) -> Self::StrictTwoWayResponseFut
type StrictTwoWayFieldsResponseFut = QueryResponseFut<i32>
fn strict_two_way_fields(&self) -> Self::StrictTwoWayFieldsResponseFut
type StrictTwoWayErrResponseFut = QueryResponseFut<Result<(), i32>>
fn strict_two_way_err(&self) -> Self::StrictTwoWayErrResponseFut
type StrictTwoWayFieldsErrResponseFut = QueryResponseFut<Result<i32, i32>>
fn strict_two_way_fields_err(&self) -> Self::StrictTwoWayFieldsErrResponseFut
type FlexibleTwoWayResponseFut = QueryResponseFut<()>
fn flexible_two_way(&self) -> Self::FlexibleTwoWayResponseFut
type FlexibleTwoWayFieldsResponseFut = QueryResponseFut<i32>
fn flexible_two_way_fields(&self) -> Self::FlexibleTwoWayFieldsResponseFut
type FlexibleTwoWayErrResponseFut = QueryResponseFut<Result<(), i32>>
fn flexible_two_way_err(&self) -> Self::FlexibleTwoWayErrResponseFut
type FlexibleTwoWayFieldsErrResponseFut = QueryResponseFut<Result<i32, i32>>
fn flexible_two_way_fields_err( &self, ) -> Self::FlexibleTwoWayFieldsErrResponseFut
source§impl Proxy for OpenTargetProxy
impl Proxy for OpenTargetProxy
§type Protocol = OpenTargetMarker
type Protocol = OpenTargetMarker
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
Auto Trait Implementations§
impl Freeze for OpenTargetProxy
impl !RefUnwindSafe for OpenTargetProxy
impl Send for OpenTargetProxy
impl Sync for OpenTargetProxy
impl Unpin for OpenTargetProxy
impl !UnwindSafe for OpenTargetProxy
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)