pub trait Service: 'static {
type Request<'a>: Wire<'a>;
type Response<'a>: Wire<'a>;
const NAME: &str;
const VERSIONS: Versions;
// Required method
fn request(x: Self::Request<'_>) -> Api<'_, Request>;
}Expand description
Service description.
Required Associated Constants§
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
Source§impl Service for ApiVersion
impl Service for ApiVersion
Source§impl Service for AppletExitStatus
impl Service for AppletExitStatus
Source§impl Service for AppletInstall2
impl Service for AppletInstall2
Source§impl Service for AppletMetadata0
impl Service for AppletMetadata0
Source§impl Service for AppletReboot
impl Service for AppletReboot
Source§impl Service for AppletRequest
impl Service for AppletRequest
Source§impl Service for AppletResponse
impl Service for AppletResponse
Source§impl Service for AppletTunnel
impl Service for AppletTunnel
Source§impl Service for PlatformClearStore
impl Service for PlatformClearStore
Source§impl Service for PlatformInfo3
impl Service for PlatformInfo3
Source§impl Service for PlatformLock
impl Service for PlatformLock
Source§impl Service for PlatformReboot
impl Service for PlatformReboot
Source§impl Service for PlatformUpdate
impl Service for PlatformUpdate
Source§impl Service for PlatformVendor
impl Service for PlatformVendor
Source§impl Service for _AppletInstall0
Available on crate feature host only.
impl Service for _AppletInstall0
Available on crate feature
host only.Source§impl Service for _AppletInstall1
Available on crate feature host only.
impl Service for _AppletInstall1
Available on crate feature
host only.Source§impl Service for _AppletUninstall0
Available on crate feature host only.
impl Service for _AppletUninstall0
Available on crate feature
host only.Source§impl Service for _PlatformInfo0
Available on crate feature host only.
impl Service for _PlatformInfo0
Available on crate feature
host only.Source§impl Service for _PlatformInfo1
Available on crate feature host only.
impl Service for _PlatformInfo1
Available on crate feature
host only.Source§impl Service for _PlatformInfo2
Available on crate feature host only.
impl Service for _PlatformInfo2
Available on crate feature
host only.Source§impl Service for _PlatformUpdate0
Available on crate feature host only.
impl Service for _PlatformUpdate0
Available on crate feature
host only.