pub struct RemoteVolumeSynchronousProxy { /* private fields */ }Implementations§
Source§impl RemoteVolumeSynchronousProxy
impl RemoteVolumeSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
Sourcepub fn wait_for_event(
&self,
deadline: MonotonicInstant,
) -> Result<RemoteVolumeEvent, Error>
pub fn wait_for_event( &self, deadline: MonotonicInstant, ) -> Result<RemoteVolumeEvent, Error>
Waits until an event arrives and returns it. It is safe for other threads to make concurrent requests while waiting for an event.
Sourcepub fn open_file(
&self,
object_id: u64,
file: ServerEnd<FileMarker>,
___deadline: MonotonicInstant,
) -> Result<RemoteVolumeOpenFileResult, Error>
pub fn open_file( &self, object_id: u64, file: ServerEnd<FileMarker>, ___deadline: MonotonicInstant, ) -> Result<RemoteVolumeOpenFileResult, Error>
Opens a FIDL fuchsia.io.File connection to an object in the volume, returning FileInfo (including the stream) for direct I/O.
Sourcepub fn close(
&self,
___deadline: MonotonicInstant,
) -> Result<RemoteVolumeCloseResult, Error>
pub fn close( &self, ___deadline: MonotonicInstant, ) -> Result<RemoteVolumeCloseResult, Error>
Shuts down the remote volume server and unmounts the volume in Fxfs so that it can be safely remounted.
Trait Implementations§
Source§impl Debug for RemoteVolumeSynchronousProxy
impl Debug for RemoteVolumeSynchronousProxy
Source§impl From<Channel> for RemoteVolumeSynchronousProxy
Available on Fuchsia only.
impl From<Channel> for RemoteVolumeSynchronousProxy
Available on Fuchsia only.
Source§impl From<RemoteVolumeSynchronousProxy> for NullableHandle
Available on Fuchsia only.
impl From<RemoteVolumeSynchronousProxy> for NullableHandle
Available on Fuchsia only.
Source§fn from(value: RemoteVolumeSynchronousProxy) -> Self
fn from(value: RemoteVolumeSynchronousProxy) -> Self
Converts to this type from the input type.
Source§impl FromClient for RemoteVolumeSynchronousProxy
Available on Fuchsia only.
impl FromClient for RemoteVolumeSynchronousProxy
Available on Fuchsia only.
Source§type Protocol = RemoteVolumeMarker
type Protocol = RemoteVolumeMarker
The protocol.
Source§fn from_client(value: ClientEnd<RemoteVolumeMarker>) -> Self
fn from_client(value: ClientEnd<RemoteVolumeMarker>) -> Self
Converts from a client.
Source§impl SynchronousProxy for RemoteVolumeSynchronousProxy
Available on Fuchsia only.
impl SynchronousProxy for RemoteVolumeSynchronousProxy
Available on Fuchsia only.
Source§type Proxy = RemoteVolumeProxy
type Proxy = RemoteVolumeProxy
The async proxy for the same protocol.
Source§type Protocol = RemoteVolumeMarker
type Protocol = RemoteVolumeMarker
The protocol which this
Proxy controls.Source§fn from_channel(inner: Channel) -> Self
fn from_channel(inner: Channel) -> Self
Create a proxy over the given channel.
Source§fn into_channel(self) -> Channel
fn into_channel(self) -> Channel
Convert the proxy back into a channel.
Source§fn as_channel(&self) -> &Channel
fn as_channel(&self) -> &Channel
Get a reference to the proxy’s underlying channel. Read more
Auto Trait Implementations§
impl Freeze for RemoteVolumeSynchronousProxy
impl RefUnwindSafe for RemoteVolumeSynchronousProxy
impl Send for RemoteVolumeSynchronousProxy
impl Sync for RemoteVolumeSynchronousProxy
impl Unpin for RemoteVolumeSynchronousProxy
impl UnsafeUnpin for RemoteVolumeSynchronousProxy
impl UnwindSafe for RemoteVolumeSynchronousProxy
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