pub struct Service;Expand description
The type corresponding to the Service service.
Trait Implementations§
Source§impl DiscoverableService for Service
impl DiscoverableService for Service
Source§const SERVICE_NAME: &'static str = "fuchsia.hardware.i2cimpl.Service"
const SERVICE_NAME: &'static str = "fuchsia.hardware.i2cimpl.Service"
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 Servicewhere
___H: ServiceHandler,
DriverChannel: InstanceFromServiceTransport<___T>,
impl<___H, ___T> DispatchServiceHandler<___H, ___T> for Servicewhere
___H: ServiceHandler,
DriverChannel: 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 Servicewhere
___C: ServiceConnector<DriverChannel>,
impl<___C> Service<___C> for Servicewhere
___C: ServiceConnector<DriverChannel>,
Source§type Connector = ServiceConnector<___C>
type Connector = ServiceConnector<___C>
The connector for the service. It must be a
#[repr(transparent)]
wrapper around C.impl HasServiceRequest<DriverChannel> for Service
Auto Trait Implementations§
impl Freeze for Service
impl RefUnwindSafe for Service
impl Send for Service
impl Sync for Service
impl Unpin for Service
impl UnwindSafe for Service
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]