pub struct Sl4fBridgeSynchronousProxy { /* private fields */ }
Implementations§
source§impl Sl4fBridgeSynchronousProxy
impl Sl4fBridgeSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
sourcepub fn wait_for_event(&self, deadline: Time) -> Result<Sl4fBridgeEvent, Error>
pub fn wait_for_event(&self, deadline: Time) -> Result<Sl4fBridgeEvent, Error>
Waits until an event arrives and returns it. It is safe for other threads to make concurrent requests while waiting for an event.