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