pub struct ServiceProxy(/* private fields */);
Implementations§
Source§impl ServiceProxy
impl ServiceProxy
Sourcepub fn connect_to_server(&self) -> Result<Server_Proxy, Error>
pub fn connect_to_server(&self) -> Result<Server_Proxy, Error>
An Ext4 server that can parse a file system image and present it using fuchsia-io FIDL API.
Sourcepub fn connect_to_server_sync(&self) -> Result<Server_SynchronousProxy, Error>
pub fn connect_to_server_sync(&self) -> Result<Server_SynchronousProxy, Error>
Like connect_to_server
, but returns a sync proxy.
See Self::connect_to_server
for more details.
Sourcepub fn connect_channel_to_server(
&self,
server_end: ServerEnd<Server_Marker>,
) -> Result<(), Error>
pub fn connect_channel_to_server( &self, server_end: ServerEnd<Server_Marker>, ) -> Result<(), Error>
Like connect_to_server
, but accepts a server end.
See Self::connect_to_server
for more details.
pub fn instance_name(&self) -> &str
Trait Implementations§
Source§impl ServiceProxy for ServiceProxy
impl ServiceProxy for ServiceProxy
Source§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