Struct remote_control::RemoteControlService
source · pub struct RemoteControlService { /* private fields */ }
Implementations§
source§impl RemoteControlService
impl RemoteControlService
pub async fn new(connector: impl Fn(Socket) + '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<()>
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