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.i2c.Service"
const SERVICE_NAME: &'static str = "fuchsia.hardware.i2c.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<___T>,
impl<___H, ___T> DispatchServiceHandler<___H, ___T> for Servicewhere
___H: ServiceHandler<___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.
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