pub struct Handoff;Implementations§
Source§impl Handoff
impl Handoff
pub fn open() -> Result<Self, CoreError>
pub fn acquire_provider( &self, _authority: &str, _user_id: i32, ) -> Result<ProviderHandle, CoreError>
pub fn send_binder( &self, _handle: &ProviderHandle, _authority: &str, _method: &str, _arg: &str, _service_binder: *mut c_void, ) -> Result<(), CoreError>
pub fn remove_provider( &self, _authority: &str, _user_id: i32, ) -> Result<(), CoreError>
pub fn handoff( &self, _authority: &str, _user_id: i32, _method: &str, _arg: &str, _service_binder: *mut c_void, ) -> Result<i32, CoreError>
Auto Trait Implementations§
impl Freeze for Handoff
impl RefUnwindSafe for Handoff
impl Send for Handoff
impl Sync for Handoff
impl Unpin for Handoff
impl UnsafeUnpin for Handoff
impl UnwindSafe for Handoff
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