pub struct Driver;Expand description
The type corresponding to the Driver protocol.
This protocol is used by the Driver Framework’s Driver Host to communicate various messages and
lifecycle hooks to the driver. The connection for this protocol is established through the
|DriverRegistration| defined in the driver_symbols library.
Once the driver has closed its server end, the Driver Framework will initiate the shutdown of all dispatchers belonging to this driver.
Trait Implementations§
Source§impl CompatFrom<Driver> for DriverMarker
Available on crate feature driver only.
impl CompatFrom<Driver> for DriverMarker
Available on crate feature
driver only.Source§fn compat_from(_: Driver) -> Self
fn compat_from(_: Driver) -> Self
Converts
value into a value of this type.Source§impl CompatFrom<DriverMarker> for Driver
Available on crate feature driver only.
impl CompatFrom<DriverMarker> for Driver
Available on crate feature
driver only.Source§fn compat_from(_: DriverMarker) -> Self
fn compat_from(_: DriverMarker) -> Self
Converts
value into a value of this type.Source§impl<___H, ___T> DispatchClientMessage<___H, ___T> for Driverwhere
___H: DriverClientHandler<___T> + Send,
___T: Transport,
<Start as Method>::Response: Decode<<___T as Transport>::RecvBuffer>,
impl<___H, ___T> DispatchClientMessage<___H, ___T> for Driverwhere
___H: DriverClientHandler<___T> + Send,
___T: Transport,
<Start as Method>::Response: Decode<<___T as Transport>::RecvBuffer>,
Source§impl<___H, ___T> DispatchServerMessage<___H, ___T> for Driverwhere
___H: DriverServerHandler<___T> + Send,
___T: Transport,
<Start as Method>::Request: Decode<<___T as Transport>::RecvBuffer>,
impl<___H, ___T> DispatchServerMessage<___H, ___T> for Driverwhere
___H: DriverServerHandler<___T> + Send,
___T: Transport,
<Start as Method>::Request: Decode<<___T as Transport>::RecvBuffer>,
Source§impl HasTransport for Driver
Available on crate feature driver only.
impl HasTransport for Driver
Available on crate feature
driver only.Source§type Transport = DriverChannel
type Transport = DriverChannel
The default transport type for this protocol.
impl StructuralPartialEq for Driver
Auto Trait Implementations§
impl Freeze for Driver
impl RefUnwindSafe for Driver
impl Send for Driver
impl Sync for Driver
impl Unpin for Driver
impl UnwindSafe for Driver
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
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§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]