Struct fidl_fuchsia_offers_test::ServiceProxy
source · pub struct ServiceProxy(/* private fields */);
Implementations§
source§impl ServiceProxy
impl ServiceProxy
pub fn connect_to_device(&self) -> Result<HandshakeProxy, Error>
sourcepub fn connect_to_device_sync(&self) -> Result<HandshakeSynchronousProxy, Error>
pub fn connect_to_device_sync(&self) -> Result<HandshakeSynchronousProxy, Error>
Like connect_to_device
, but returns a sync proxy.
See Self::connect_to_device
for more details.
sourcepub fn connect_channel_to_device(
&self,
server_end: ServerEnd<HandshakeMarker>,
) -> Result<(), Error>
pub fn connect_channel_to_device( &self, server_end: ServerEnd<HandshakeMarker>, ) -> Result<(), Error>
Like connect_to_device
, but accepts a server end.
See Self::connect_to_device
for more details.
Trait Implementations§
source§impl ServiceProxy for ServiceProxy
impl ServiceProxy for ServiceProxy
§type Service = ServiceMarker
type Service = ServiceMarker
The FIDL service this proxy represents.
Auto Trait Implementations§
impl Freeze for ServiceProxy
impl !RefUnwindSafe for ServiceProxy
impl !Send for ServiceProxy
impl !Sync for ServiceProxy
impl Unpin for ServiceProxy
impl !UnwindSafe for ServiceProxy
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