pub struct DevBinderSynchronousProxy { /* private fields */ }
Implementations§
source§impl DevBinderSynchronousProxy
impl DevBinderSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
sourcepub fn wait_for_event(&self, deadline: Time) -> Result<DevBinderEvent, Error>
pub fn wait_for_event(&self, deadline: Time) -> Result<DevBinderEvent, 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 open(&self, payload: DevBinderOpenRequest) -> Result<(), Error>
pub fn open(&self, payload: DevBinderOpenRequest) -> Result<(), Error>
Open the binder device node.