pub struct ServingBinder;Implementations§
Source§impl ServingBinder
impl ServingBinder
pub fn open( _descriptor: &[u8], _handler: ServeHandler, ) -> Result<Self, CoreError>
pub fn as_raw(&self) -> *mut c_void
pub fn associate(&self, _target: &OwnedBinder) -> Result<(), CoreError>
pub fn push_oneway( &self, _target: &OwnedBinder, _code: u32, _writes: impl FnOnce(&ParcelWriter<'_>) -> Result<(), CoreError>, ) -> Result<(), CoreError>
pub fn death_recipient( &self, _on_died: Box<dyn FnMut() + Send>, ) -> DeathRecipient
pub fn oneway_sender(&self) -> OnewaySender
Auto Trait Implementations§
impl Freeze for ServingBinder
impl RefUnwindSafe for ServingBinder
impl Send for ServingBinder
impl Sync for ServingBinder
impl Unpin for ServingBinder
impl UnsafeUnpin for ServingBinder
impl UnwindSafe for ServingBinder
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