pub struct DictionaryRouter;
Expand description
The type corresponding to the DictionaryRouter protocol.
Trait Implementations§
Source§impl ClientCompatFrom<DictionaryRouterProxy> for DictionaryRouter
impl ClientCompatFrom<DictionaryRouterProxy> for DictionaryRouter
Source§fn client_compat_from(proxy: DictionaryRouterProxy) -> Client<Self, Channel>
fn client_compat_from(proxy: DictionaryRouterProxy) -> Client<Self, Channel>
Converts
proxy
into a Client
for this protocol.Source§impl CompatFrom<DictionaryRouter> for DictionaryRouterMarker
impl CompatFrom<DictionaryRouter> for DictionaryRouterMarker
Source§fn compat_from(_: DictionaryRouter) -> Self
fn compat_from(_: DictionaryRouter) -> Self
Converts
value
into a value of this type.Source§impl CompatFrom<DictionaryRouterMarker> for DictionaryRouter
impl CompatFrom<DictionaryRouterMarker> for DictionaryRouter
Source§fn compat_from(_: DictionaryRouterMarker) -> Self
fn compat_from(_: DictionaryRouterMarker) -> Self
Converts
value
into a value of this type.Source§impl Debug for DictionaryRouter
impl Debug for DictionaryRouter
Source§impl Discoverable for DictionaryRouter
impl Discoverable for DictionaryRouter
Source§const PROTOCOL_NAME: &'static str = "fuchsia.component.sandbox.DictionaryRouter"
const PROTOCOL_NAME: &'static str = "fuchsia.component.sandbox.DictionaryRouter"
The service name to use to connect to this discoverable protocol.
Source§impl<___H, ___T> DispatchClientMessage<___H, ___T> for DictionaryRouterwhere
___H: DictionaryRouterClientHandler<___T> + Send,
___T: Transport,
<Route as Method>::Response: Decode<<___T as Transport>::RecvBuffer>,
impl<___H, ___T> DispatchClientMessage<___H, ___T> for DictionaryRouterwhere
___H: DictionaryRouterClientHandler<___T> + Send,
___T: Transport,
<Route as Method>::Response: Decode<<___T as Transport>::RecvBuffer>,
Source§impl<___H, ___T> DispatchServerMessage<___H, ___T> for DictionaryRouterwhere
___H: DictionaryRouterServerHandler<___T> + Send,
___T: Transport,
<Route as Method>::Request: Decode<<___T as Transport>::RecvBuffer>,
impl<___H, ___T> DispatchServerMessage<___H, ___T> for DictionaryRouterwhere
___H: DictionaryRouterServerHandler<___T> + Send,
___T: Transport,
<Route as Method>::Request: Decode<<___T as Transport>::RecvBuffer>,
Source§async fn on_one_way(
handler: &mut ___H,
sender: &ServerSender<Self, ___T>,
ordinal: u64,
buffer: ___T::RecvBuffer,
)
async fn on_one_way( handler: &mut ___H, sender: &ServerSender<Self, ___T>, ordinal: u64, buffer: ___T::RecvBuffer, )
Handles a received server one-way message with the given handler.
Source§async fn on_two_way(
handler: &mut ___H,
sender: &ServerSender<Self, ___T>,
ordinal: u64,
buffer: ___T::RecvBuffer,
responder: Responder,
)
async fn on_two_way( handler: &mut ___H, sender: &ServerSender<Self, ___T>, ordinal: u64, buffer: ___T::RecvBuffer, responder: Responder, )
Handles a received server two-way message with the given handler.
Source§impl<___T> Protocol<___T> for DictionaryRouterwhere
___T: Transport,
impl<___T> Protocol<___T> for DictionaryRouterwhere
___T: Transport,
Source§type ClientSender = DictionaryRouterClientSender<___T>
type ClientSender = DictionaryRouterClientSender<___T>
The client sender for the protocol. It must be a
#[repr(transparent)]
wrapper around
ClientSender<T>
.Source§type ServerSender = DictionaryRouterServerSender<___T>
type ServerSender = DictionaryRouterServerSender<___T>
The server sender for the protocol. It must be a
#[repr(transparent)]
wrapper around
ServerSender<T>
.Auto Trait Implementations§
impl Freeze for DictionaryRouter
impl RefUnwindSafe for DictionaryRouter
impl Send for DictionaryRouter
impl Sync for DictionaryRouter
impl Unpin for DictionaryRouter
impl UnwindSafe for DictionaryRouter
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