pub struct TargetService;Expand description
The type corresponding to the TargetService service. This service represents an SPMI target device. Clients have access to the entire SPMI register range.
Trait Implementations§
Source§impl Debug for TargetService
impl Debug for TargetService
Source§impl DiscoverableService for TargetService
impl DiscoverableService for TargetService
Source§const SERVICE_NAME: &'static str = "fuchsia.hardware.spmi.TargetService"
const SERVICE_NAME: &'static str = "fuchsia.hardware.spmi.TargetService"
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 TargetServicewhere
___H: TargetServiceHandler,
Channel: InstanceFromServiceTransport<___T>,
impl<___H, ___T> DispatchServiceHandler<___H, ___T> for TargetServicewhere
___H: TargetServiceHandler,
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 TargetServicewhere
___C: ServiceConnector<Channel>,
impl<___C> Service<___C> for TargetServicewhere
___C: ServiceConnector<Channel>,
Source§type Connector = TargetServiceConnector<___C>
type Connector = TargetServiceConnector<___C>
The connector for the service. It must be a
#[repr(transparent)]
wrapper around C.impl HasServiceRequest<Channel> for TargetService
Auto Trait Implementations§
impl Freeze for TargetService
impl RefUnwindSafe for TargetService
impl Send for TargetService
impl Sync for TargetService
impl Unpin for TargetService
impl UnsafeUnpin for TargetService
impl UnwindSafe for TargetService
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]