pub struct SnapshotSinkV1SynchronousProxy { /* private fields */ }
Implementations§
Source§impl SnapshotSinkV1SynchronousProxy
impl SnapshotSinkV1SynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
Sourcepub fn wait_for_event(
&self,
deadline: MonotonicInstant,
) -> Result<SnapshotSinkV1Event, Error>
pub fn wait_for_event( &self, deadline: MonotonicInstant, ) -> Result<SnapshotSinkV1Event, 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 store_named_snapshot(
&self,
snapshot_name: &str,
allocations_vmo_snapshot: Vmo,
) -> Result<(), Error>
pub fn store_named_snapshot( &self, snapshot_name: &str, allocations_vmo_snapshot: Vmo, ) -> Result<(), Error>
Asks the server to store a snapshot with the given name and the given allocations VMO.
All the resources referenced by the given allocations VMO will be resolved using the resources VMO that was shared by the process at registration time.
Trait Implementations§
Source§impl SynchronousProxy for SnapshotSinkV1SynchronousProxy
impl SynchronousProxy for SnapshotSinkV1SynchronousProxy
Source§type Proxy = SnapshotSinkV1Proxy
type Proxy = SnapshotSinkV1Proxy
The async proxy for the same protocol.
Source§type Protocol = SnapshotSinkV1Marker
type Protocol = SnapshotSinkV1Marker
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 SnapshotSinkV1SynchronousProxy
impl RefUnwindSafe for SnapshotSinkV1SynchronousProxy
impl Send for SnapshotSinkV1SynchronousProxy
impl Sync for SnapshotSinkV1SynchronousProxy
impl Unpin for SnapshotSinkV1SynchronousProxy
impl UnwindSafe for SnapshotSinkV1SynchronousProxy
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