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
impl CompatFrom<Driver> for DriverMarker
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
impl CompatFrom<DriverMarker> for Driver
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>,
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
]