pub struct DataRouter;Expand description
The type corresponding to the DataRouter protocol.
Trait Implementations§
Source§impl Debug for DataRouter
impl Debug for DataRouter
Source§impl Discoverable for DataRouter
impl Discoverable for DataRouter
Source§const PROTOCOL_NAME: &'static str = "fuchsia.component.sandbox.DataRouter"
const PROTOCOL_NAME: &'static str = "fuchsia.component.sandbox.DataRouter"
The service name to use to connect to this discoverable protocol.
Source§impl<___H, ___T> DispatchClientMessage<___H, ___T> for DataRouterwhere
___H: DataRouterClientHandler<___T> + Send,
___T: Transport,
impl<___H, ___T> DispatchClientMessage<___H, ___T> for DataRouterwhere
___H: DataRouterClientHandler<___T> + Send,
___T: Transport,
Source§impl<___H, ___T> DispatchServerMessage<___H, ___T> for DataRouterwhere
___H: DataRouterServerHandler<___T> + Send,
___T: Transport,
for<'de> RouteRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
impl<___H, ___T> DispatchServerMessage<___H, ___T> for DataRouterwhere
___H: DataRouterServerHandler<___T> + Send,
___T: Transport,
for<'de> RouteRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
Source§impl<___T> HasConnectionHandles<___T> for DataRouterwhere
___T: Transport,
impl<___T> HasConnectionHandles<___T> for DataRouterwhere
___T: Transport,
Source§impl HasTransport for DataRouter
Available on Fuchsia only.
impl HasTransport for DataRouter
Available on Fuchsia only.
Source§impl PartialEq for DataRouter
impl PartialEq for DataRouter
impl StructuralPartialEq for DataRouter
Auto Trait Implementations§
impl Freeze for DataRouter
impl RefUnwindSafe for DataRouter
impl Send for DataRouter
impl Sync for DataRouter
impl Unpin for DataRouter
impl UnsafeUnpin for DataRouter
impl UnwindSafe for DataRouter
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]