pub struct RemoteControlService { /* private fields */ }
Implementations§
Source§impl RemoteControlService
impl RemoteControlService
pub async fn new( connector: impl Fn(ConnectionRequest, Weak<Self>) + 'static, ) -> Self
pub async fn new_with_default_allocator( connector: impl Fn(ConnectionRequest, Weak<Self>) + 'static, ) -> Self
pub async fn serve_connector_stream( self: Rc<Self>, stream: ConnectorRequestStream, )
pub async fn serve_stream(self: Rc<Self>, stream: RemoteControlRequestStream)
pub async fn identify_host( self: &Rc<Self>, responder: RemoteControlIdentifyHostResponder, ) -> Result<()>
pub async fn open_toolboox( self: &Rc<Self>, server_end: Channel, ) -> Result<(), ConnectCapabilityError>
Auto Trait Implementations§
impl !Freeze for RemoteControlService
impl !RefUnwindSafe for RemoteControlService
impl !Send for RemoteControlService
impl !Sync for RemoteControlService
impl Unpin for RemoteControlService
impl !UnwindSafe for RemoteControlService
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