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