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 get_host_identity( self: &Rc<Self>, ) -> Result<IdentifyHostResponse, IdentifyHostError>
pub async fn identify_host( self: &Rc<Self>, responder: RemoteControlIdentifyHostResponder, ) -> Result<()>
pub async fn open_toolbox( 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 UnsafeUnpin 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
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more