pub struct SubTargetService;Expand description
The type corresponding to the SubTargetService service. This service represents a sub-target device within an SPMI target. Clients have access to a subset of the SPMI register range as determined by the controller driver.
Trait Implementations§
Source§impl Debug for SubTargetService
impl Debug for SubTargetService
Source§impl DiscoverableService for SubTargetService
impl DiscoverableService for SubTargetService
Source§const SERVICE_NAME: &'static str = "fuchsia.hardware.spmi.SubTargetService"
const SERVICE_NAME: &'static str = "fuchsia.hardware.spmi.SubTargetService"
The name of this service.
Source§const MEMBER_NAMES: &'static [&'static str]
const MEMBER_NAMES: &'static [&'static str]
The members of this service.
Source§impl<___H, ___T> DispatchServiceHandler<___H, ___T> for SubTargetServicewhere
___H: SubTargetServiceHandler,
Channel: InstanceFromServiceTransport<___T>,
impl<___H, ___T> DispatchServiceHandler<___H, ___T> for SubTargetServicewhere
___H: SubTargetServiceHandler,
Channel: InstanceFromServiceTransport<___T>,
Source§fn on_connection(handler: &___H, member: &str, server_end: ___T)
fn on_connection(handler: &___H, member: &str, server_end: ___T)
Handles a received connection request with the given handler.
Source§impl<___C> Service<___C> for SubTargetServicewhere
___C: ServiceConnector<Channel>,
impl<___C> Service<___C> for SubTargetServicewhere
___C: ServiceConnector<Channel>,
Source§type Connector = SubTargetServiceConnector<___C>
type Connector = SubTargetServiceConnector<___C>
The connector for the service. It must be a
#[repr(transparent)]
wrapper around C.impl HasServiceRequest<Channel> for SubTargetService
Auto Trait Implementations§
impl Freeze for SubTargetService
impl RefUnwindSafe for SubTargetService
impl Send for SubTargetService
impl Sync for SubTargetService
impl Unpin for SubTargetService
impl UnsafeUnpin for SubTargetService
impl UnwindSafe for SubTargetService
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
§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]