pub struct UtilSynchronousProxy { /* private fields */ }
Implementations§
Source§impl UtilSynchronousProxy
impl UtilSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
Sourcepub fn wait_for_event(
&self,
deadline: MonotonicInstant,
) -> Result<UtilEvent, Error>
pub fn wait_for_event( &self, deadline: MonotonicInstant, ) -> Result<UtilEvent, Error>
Waits until an event arrives and returns it. It is safe for other threads to make concurrent requests while waiting for an event.
pub fn get_arguments( &self, ___deadline: MonotonicInstant, ) -> Result<Vec<String>, Error>
pub fn get_argument_count( &self, ___deadline: MonotonicInstant, ) -> Result<u64, Error>
pub fn get_environment( &self, ___deadline: MonotonicInstant, ) -> Result<Vec<EnvVar>, Error>
pub fn get_environment_count( &self, ___deadline: MonotonicInstant, ) -> Result<u64, Error>
pub fn dump_namespace( &self, ___deadline: MonotonicInstant, ) -> Result<String, Error>
pub fn read_file( &self, path: &str, ___deadline: MonotonicInstant, ) -> Result<String, Error>
pub fn get_lifecycle_koid( &self, ___deadline: MonotonicInstant, ) -> Result<u64, Error>
Trait Implementations§
Source§impl Debug for UtilSynchronousProxy
impl Debug for UtilSynchronousProxy
Source§impl SynchronousProxy for UtilSynchronousProxy
impl SynchronousProxy for UtilSynchronousProxy
Source§type Protocol = UtilMarker
type Protocol = UtilMarker
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 UtilSynchronousProxy
impl RefUnwindSafe for UtilSynchronousProxy
impl Send for UtilSynchronousProxy
impl Sync for UtilSynchronousProxy
impl Unpin for UtilSynchronousProxy
impl UnwindSafe for UtilSynchronousProxy
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