pub struct ClientEnd<T> { /* private fields */ }Expand description
The Client end of a FIDL connection.
Implementations§
Source§impl<T: ProtocolMarker> ClientEnd<T>
impl<T: ProtocolMarker> ClientEnd<T>
Sourcepub fn into_proxy(self) -> T::Proxy
pub fn into_proxy(self) -> T::Proxy
Convert the ClientEnd into a Proxy through which FIDL calls may be made.
§Panics
If called outside the context of an active async executor.
Sourcepub fn into_sync_proxy(self) -> T::SynchronousProxy
pub fn into_sync_proxy(self) -> T::SynchronousProxy
Convert the ClientEnd into a SynchronousProxy through which thread-blocking FIDL calls
may be made.
Trait Implementations§
Source§impl<T> AsHandleRef for ClientEnd<T>
impl<T> AsHandleRef for ClientEnd<T>
Source§fn as_handle_ref(&self) -> HandleRef<'_>
fn as_handle_ref(&self) -> HandleRef<'_>
Get a reference to the handle. One important use of such a reference is
for
object_wait_many.Source§impl<T: ProtocolMarker> Debug for ClientEnd<T>
impl<T: ProtocolMarker> Debug for ClientEnd<T>
Source§impl<T> From<ClientEnd<T>> for NullableHandle
impl<T> From<ClientEnd<T>> for NullableHandle
Source§fn from(client: ClientEnd<T>) -> NullableHandle
fn from(client: ClientEnd<T>) -> NullableHandle
Converts to this type from the input type.
Source§impl<T> From<NullableHandle> for ClientEnd<T>
impl<T> From<NullableHandle> for ClientEnd<T>
Source§fn from(handle: NullableHandle) -> Self
fn from(handle: NullableHandle) -> Self
Converts to this type from the input type.
Source§impl<T: ProtocolMarker> FromClient for ClientEnd<T>
impl<T: ProtocolMarker> FromClient for ClientEnd<T>
Source§impl<T: Ord> Ord for ClientEnd<T>
impl<T: Ord> Ord for ClientEnd<T>
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<T: PartialEq> PartialEq for ClientEnd<T>
impl<T: PartialEq> PartialEq for ClientEnd<T>
Source§impl<T: PartialOrd> PartialOrd for ClientEnd<T>
impl<T: PartialOrd> PartialOrd for ClientEnd<T>
impl<T: Eq> Eq for ClientEnd<T>
impl<T> StructuralPartialEq for ClientEnd<T>
Auto Trait Implementations§
impl<T> Freeze for ClientEnd<T>
impl<T> RefUnwindSafe for ClientEnd<T>where
T: RefUnwindSafe,
impl<T> Send for ClientEnd<T>where
T: Send,
impl<T> Sync for ClientEnd<T>where
T: Sync,
impl<T> Unpin for ClientEnd<T>where
T: Unpin,
impl<T> UnsafeUnpin for ClientEnd<T>
impl<T> UnwindSafe for ClientEnd<T>where
T: UnwindSafe,
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> EncodableAsHandle for T
impl<T> EncodableAsHandle for T
Source§type Dialect = DefaultFuchsiaResourceDialect
type Dialect = DefaultFuchsiaResourceDialect
What resource dialect can encode this object as a handle.