pub struct PathServiceProxy(/* private fields */);
Implementations§
Source§impl PathServiceProxy
impl PathServiceProxy
pub fn connect_to_path(&self) -> Result<PathProxy, Error>
Sourcepub fn connect_to_path_sync(&self) -> Result<PathSynchronousProxy, Error>
pub fn connect_to_path_sync(&self) -> Result<PathSynchronousProxy, Error>
Like connect_to_path
, but returns a sync proxy.
See Self::connect_to_path
for more details.
Sourcepub fn connect_channel_to_path(
&self,
server_end: ServerEnd<PathMarker>,
) -> Result<(), Error>
pub fn connect_channel_to_path( &self, server_end: ServerEnd<PathMarker>, ) -> Result<(), Error>
Like connect_to_path
, but accepts a server end.
See Self::connect_to_path
for more details.
pub fn instance_name(&self) -> &str
Trait Implementations§
Source§impl ServiceProxy for PathServiceProxy
impl ServiceProxy for PathServiceProxy
Source§type Service = PathServiceMarker
type Service = PathServiceMarker
The FIDL service this proxy represents.
Auto Trait Implementations§
impl Freeze for PathServiceProxy
impl !RefUnwindSafe for PathServiceProxy
impl Send for PathServiceProxy
impl Sync for PathServiceProxy
impl Unpin for PathServiceProxy
impl !UnwindSafe for PathServiceProxy
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