pub struct DebugSynchronousProxy { /* private fields */ }
Implementations§
Source§impl DebugSynchronousProxy
impl DebugSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
Sourcepub fn wait_for_event(
&self,
deadline: MonotonicInstant,
) -> Result<DebugEvent, Error>
pub fn wait_for_event( &self, deadline: MonotonicInstant, ) -> Result<DebugEvent, 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 compact(
&self,
___deadline: MonotonicInstant,
) -> Result<DebugCompactResult, Error>
pub fn compact( &self, ___deadline: MonotonicInstant, ) -> Result<DebugCompactResult, Error>
Forces a compaction.
Sourcepub fn delete_profile(
&self,
volume: &str,
profile: &str,
___deadline: MonotonicInstant,
) -> Result<DebugDeleteProfileResult, Error>
pub fn delete_profile( &self, volume: &str, profile: &str, ___deadline: MonotonicInstant, ) -> Result<DebugDeleteProfileResult, Error>
Deletes a recorded profile from a volume. Fails if the volume isn’t mounted or there is active profile recording or replay.
Sourcepub fn stop_profile_tasks(
&self,
___deadline: MonotonicInstant,
) -> Result<DebugStopProfileTasksResult, Error>
pub fn stop_profile_tasks( &self, ___deadline: MonotonicInstant, ) -> Result<DebugStopProfileTasksResult, Error>
Stops all profile recording and replay activity. Ongoing recordings are completed and persisted.
Trait Implementations§
Source§impl Debug for DebugSynchronousProxy
impl Debug for DebugSynchronousProxy
Source§impl SynchronousProxy for DebugSynchronousProxy
impl SynchronousProxy for DebugSynchronousProxy
Source§type Proxy = DebugProxy
type Proxy = DebugProxy
The async proxy for the same protocol.
Source§type Protocol = DebugMarker
type Protocol = DebugMarker
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 DebugSynchronousProxy
impl RefUnwindSafe for DebugSynchronousProxy
impl Send for DebugSynchronousProxy
impl Sync for DebugSynchronousProxy
impl Unpin for DebugSynchronousProxy
impl UnwindSafe for DebugSynchronousProxy
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