pub struct DebugDataProcessorSynchronousProxy { /* private fields */ }
Implementations§
Source§impl DebugDataProcessorSynchronousProxy
impl DebugDataProcessorSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
Sourcepub fn wait_for_event(
&self,
deadline: MonotonicInstant,
) -> Result<DebugDataProcessorEvent, Error>
pub fn wait_for_event( &self, deadline: MonotonicInstant, ) -> Result<DebugDataProcessorEvent, 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 set_directory(
&self,
directory: ClientEnd<DirectoryMarker>,
) -> Result<(), Error>
pub fn set_directory( &self, directory: ClientEnd<DirectoryMarker>, ) -> Result<(), Error>
Set the directory to store results in. This must be called first. Note that we currently provide a directory as coverage tools pull profile information off the device using a specific, topology dependent location in the /tmp filesystem. Once these tools are updated, we can update this protocol free of this constraint.
Sourcepub fn add_debug_vmos(
&self,
vmos: Vec<DebugVmo>,
___deadline: MonotonicInstant,
) -> Result<(), Error>
pub fn add_debug_vmos( &self, vmos: Vec<DebugVmo>, ___deadline: MonotonicInstant, ) -> Result<(), Error>
Add more VMOs to process. The VMOs are expected to be ready to process.
Trait Implementations§
Source§impl SynchronousProxy for DebugDataProcessorSynchronousProxy
impl SynchronousProxy for DebugDataProcessorSynchronousProxy
Source§type Proxy = DebugDataProcessorProxy
type Proxy = DebugDataProcessorProxy
The async proxy for the same protocol.
Source§type Protocol = DebugDataProcessorMarker
type Protocol = DebugDataProcessorMarker
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 DebugDataProcessorSynchronousProxy
impl RefUnwindSafe for DebugDataProcessorSynchronousProxy
impl Send for DebugDataProcessorSynchronousProxy
impl Sync for DebugDataProcessorSynchronousProxy
impl Unpin for DebugDataProcessorSynchronousProxy
impl UnwindSafe for DebugDataProcessorSynchronousProxy
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