pub struct VolumesSynchronousProxy { /* private fields */ }Implementations§
Source§impl VolumesSynchronousProxy
 
impl VolumesSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
Sourcepub fn wait_for_event(
    &self,
    deadline: MonotonicInstant,
) -> Result<VolumesEvent, Error>
 
pub fn wait_for_event( &self, deadline: MonotonicInstant, ) -> Result<VolumesEvent, 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 create(
    &self,
    name: &str,
    outgoing_directory: ServerEnd<DirectoryMarker>,
    create_options: CreateOptions,
    mount_options: MountOptions,
    ___deadline: MonotonicInstant,
) -> Result<VolumesCreateResult, Error>
 
pub fn create( &self, name: &str, outgoing_directory: ServerEnd<DirectoryMarker>, create_options: CreateOptions, mount_options: MountOptions, ___deadline: MonotonicInstant, ) -> Result<VolumesCreateResult, Error>
Creates and mounts a new volume identified by name. mount_options affects how the
resulting volume is mounted. For encrypted volumes, mount_options.crypt is also used when
creating the volume. outgoing_directory will be connected to the root directory of the
volume.
Sourcepub fn remove(
    &self,
    name: &str,
    ___deadline: MonotonicInstant,
) -> Result<VolumesRemoveResult, Error>
 
pub fn remove( &self, name: &str, ___deadline: MonotonicInstant, ) -> Result<VolumesRemoveResult, Error>
Permanently deletes a volume identified by name.  If the volume is mounted, this call will
fail.
Sourcepub fn get_info(
    &self,
    ___deadline: MonotonicInstant,
) -> Result<VolumesGetInfoResult, Error>
 
pub fn get_info( &self, ___deadline: MonotonicInstant, ) -> Result<VolumesGetInfoResult, Error>
Get general info about the volume manager.
Trait Implementations§
Source§impl Debug for VolumesSynchronousProxy
 
impl Debug for VolumesSynchronousProxy
Source§impl From<Channel> for VolumesSynchronousProxy
Available on Fuchsia only. 
impl From<Channel> for VolumesSynchronousProxy
Available on Fuchsia only.
Source§impl From<VolumesSynchronousProxy> for Handle
Available on Fuchsia only. 
impl From<VolumesSynchronousProxy> for Handle
Available on Fuchsia only.
Source§fn from(value: VolumesSynchronousProxy) -> Self
 
fn from(value: VolumesSynchronousProxy) -> Self
Converts to this type from the input type.
Source§impl FromClient for VolumesSynchronousProxy
Available on Fuchsia only. 
impl FromClient for VolumesSynchronousProxy
Available on Fuchsia only.
Source§type Protocol = VolumesMarker
 
type Protocol = VolumesMarker
The protocol.
Source§fn from_client(value: ClientEnd<VolumesMarker>) -> Self
 
fn from_client(value: ClientEnd<VolumesMarker>) -> Self
Converts from a client.
Source§impl SynchronousProxy for VolumesSynchronousProxy
Available on Fuchsia only. 
impl SynchronousProxy for VolumesSynchronousProxy
Available on Fuchsia only.
Source§type Proxy = VolumesProxy
 
type Proxy = VolumesProxy
The async proxy for the same protocol.
Source§type Protocol = VolumesMarker
 
type Protocol = VolumesMarker
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 VolumesSynchronousProxy
impl RefUnwindSafe for VolumesSynchronousProxy
impl Send for VolumesSynchronousProxy
impl Sync for VolumesSynchronousProxy
impl Unpin for VolumesSynchronousProxy
impl UnwindSafe for VolumesSynchronousProxy
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