pub struct ManagerSynchronousProxy { /* private fields */ }
Implementations§
source§impl ManagerSynchronousProxy
impl ManagerSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
sourcepub fn wait_for_event(&self, deadline: Time) -> Result<ManagerEvent, Error>
pub fn wait_for_event(&self, deadline: Time) -> Result<ManagerEvent, 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 gc(&self, ___deadline: Time) -> Result<ManagerGcResult, Error>
pub fn gc(&self, ___deadline: Time) -> Result<ManagerGcResult, Error>
Trigger a garbage collection.