pub struct TestServiceProxy(/* private fields */);Implementations§
Source§impl TestServiceProxy
impl TestServiceProxy
pub fn connect_to_test(&self) -> Result<TestProxy, Error>
Sourcepub fn connect_to_test_sync(&self) -> Result<TestSynchronousProxy, Error>
pub fn connect_to_test_sync(&self) -> Result<TestSynchronousProxy, Error>
Like connect_to_test, but returns a sync proxy.
See Self::connect_to_test for more details.
Sourcepub fn connect_channel_to_test(
&self,
server_end: ServerEnd<TestMarker>,
) -> Result<(), Error>
pub fn connect_channel_to_test( &self, server_end: ServerEnd<TestMarker>, ) -> Result<(), Error>
Like connect_to_test, but accepts a server end.
See Self::connect_to_test for more details.
pub fn instance_name(&self) -> &str
Trait Implementations§
Source§impl ServiceProxy for TestServiceProxy
Available on Fuchsia only.
impl ServiceProxy for TestServiceProxy
Available on Fuchsia only.
Source§type Service = TestServiceMarker
type Service = TestServiceMarker
The FIDL service this proxy represents.
Auto Trait Implementations§
impl !RefUnwindSafe for TestServiceProxy
impl !UnwindSafe for TestServiceProxy
impl Freeze for TestServiceProxy
impl Send for TestServiceProxy
impl Sync for TestServiceProxy
impl Unpin for TestServiceProxy
impl UnsafeUnpin for TestServiceProxy
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