pub struct RealmProxyClient { /* private fields */ }
Implementations§
Source§impl RealmProxyClient
impl RealmProxyClient
pub fn connect() -> Result<Self, Error>
pub async fn connect_to_protocol<T: DiscoverableProtocolMarker>( &self, ) -> Result<T::Proxy, Error>
pub async fn connect_server_end_to_protocol<T: DiscoverableProtocolMarker>( &self, server_end: ServerEnd<T>, ) -> Result<(), Error>
pub async fn connect_to_named_protocol<T: DiscoverableProtocolMarker>( &self, protocol_name: &str, ) -> Result<T::Proxy, Error>
pub async fn connect_server_end_to_named_protocol<T: DiscoverableProtocolMarker>( &self, protocol_name: &str, server_end: ServerEnd<T>, ) -> Result<(), Error>
pub async fn open_service<T: ServiceMarker>( &self, ) -> Result<DirectoryProxy, Error>
pub async fn connect_to_service_instance<T: ServiceMarker>( &self, instance: &str, ) -> Result<T::Proxy, Error>
Trait Implementations§
Source§impl From<ClientEnd<RealmProxy_Marker>> for RealmProxyClient
impl From<ClientEnd<RealmProxy_Marker>> for RealmProxyClient
Source§fn from(value: ClientEnd<RealmProxy_Marker>) -> Self
fn from(value: ClientEnd<RealmProxy_Marker>) -> Self
Converts to this type from the input type.
Source§impl From<RealmProxy_Proxy> for RealmProxyClient
impl From<RealmProxy_Proxy> for RealmProxyClient
Source§fn from(value: RealmProxy_Proxy) -> Self
fn from(value: RealmProxy_Proxy) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RealmProxyClient
impl !RefUnwindSafe for RealmProxyClient
impl Send for RealmProxyClient
impl Sync for RealmProxyClient
impl Unpin for RealmProxyClient
impl !UnwindSafe for RealmProxyClient
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