pub struct ResetSynchronousProxy { /* private fields */ }
Implementations§
Source§impl ResetSynchronousProxy
impl ResetSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
Sourcepub fn wait_for_event(
&self,
deadline: MonotonicInstant,
) -> Result<ResetEvent, Error>
pub fn wait_for_event( &self, deadline: MonotonicInstant, ) -> Result<ResetEvent, 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 shred_encrypted_volumes(
&self,
___deadline: MonotonicInstant,
) -> Result<ResetShredEncryptedVolumesResult, Error>
pub fn shred_encrypted_volumes( &self, ___deadline: MonotonicInstant, ) -> Result<ResetShredEncryptedVolumesResult, Error>
Find the all zxcrypt partitions in fvm and replace the superblock and keys with random data, effectively shredding the contents. Calling this method on a filesystem that is currently running will not interrupt the current session, but it will not be able to open the data volume again, causing it to be reformatted on the next boot.
This is not cryptographically secure; the caller should take care to reset hardware keys.
Trait Implementations§
Source§impl Debug for ResetSynchronousProxy
impl Debug for ResetSynchronousProxy
Source§impl From<Channel> for ResetSynchronousProxy
impl From<Channel> for ResetSynchronousProxy
Source§impl From<ResetSynchronousProxy> for Handle
impl From<ResetSynchronousProxy> for Handle
Source§fn from(value: ResetSynchronousProxy) -> Self
fn from(value: ResetSynchronousProxy) -> Self
Converts to this type from the input type.
Source§impl FromClient for ResetSynchronousProxy
impl FromClient for ResetSynchronousProxy
Source§type Protocol = ResetMarker
type Protocol = ResetMarker
The protocol.
Source§fn from_client(value: ClientEnd<ResetMarker>) -> Self
fn from_client(value: ClientEnd<ResetMarker>) -> Self
Converts from a client.
Source§impl SynchronousProxy for ResetSynchronousProxy
impl SynchronousProxy for ResetSynchronousProxy
Source§type Proxy = ResetProxy
type Proxy = ResetProxy
The async proxy for the same protocol.
Source§type Protocol = ResetMarker
type Protocol = ResetMarker
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 ResetSynchronousProxy
impl RefUnwindSafe for ResetSynchronousProxy
impl Send for ResetSynchronousProxy
impl Sync for ResetSynchronousProxy
impl Unpin for ResetSynchronousProxy
impl UnwindSafe for ResetSynchronousProxy
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