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