Struct fidl_fuchsia_fs::AdminProxy
source · pub struct AdminProxy { /* private fields */ }
Implementations§
source§impl AdminProxy
impl AdminProxy
sourcepub fn take_event_stream(&self) -> AdminEventStream
pub fn take_event_stream(&self) -> AdminEventStream
Get a Stream of events from the remote end of the Admin protocol
Panics
Panics if the event stream was already taken.
sourcepub fn shutdown(&self) -> QueryResponseFut<()>
pub fn shutdown(&self) -> QueryResponseFut<()>
Shuts down the filesystem. Once the filesystem receives the shutdown request, it will complete any active requests before terminating, but will not respond to new requests. This call blocks until all open connections to the filesystem are terminated and any underlying block devices or other owned channels are released, then it responds to this request and closes this channel.
Trait Implementations§
source§impl AdminProxyInterface for AdminProxy
impl AdminProxyInterface for AdminProxy
type ShutdownResponseFut = QueryResponseFut<()>
fn shutdown(&self) -> Self::ShutdownResponseFut
source§impl Clone for AdminProxy
impl Clone for AdminProxy
source§fn clone(&self) -> AdminProxy
fn clone(&self) -> AdminProxy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AdminProxy
impl Debug for AdminProxy
source§impl Proxy for AdminProxy
impl Proxy for AdminProxy
§type Protocol = AdminMarker
type Protocol = AdminMarker
The protocol which this
Proxy
controls.source§fn from_channel(inner: AsyncChannel) -> Self
fn from_channel(inner: AsyncChannel) -> Self
Create a proxy over the given channel.
source§fn into_channel(self) -> Result<AsyncChannel, Self>
fn into_channel(self) -> Result<AsyncChannel, Self>
Attempt to convert the proxy back into a channel. Read more
source§fn as_channel(&self) -> &AsyncChannel
fn as_channel(&self) -> &AsyncChannel
Get a reference to the proxy’s underlying channel. Read more