pub struct Device;
Expand description
The type corresponding to the Device protocol. The protocol provides access to functions of the driver.
Trait Implementations§
Source§impl<___H, ___T> DispatchClientMessage<___H, ___T> for Devicewhere
___H: DeviceClientHandler<___T> + Send,
___T: Transport,
<GetHardwareId as Method>::Response: Decode<<___T as Transport>::RecvBuffer>,
<GetEvent as Method>::Response: Decode<<___T as Transport>::RecvBuffer>,
impl<___H, ___T> DispatchClientMessage<___H, ___T> for Devicewhere
___H: DeviceClientHandler<___T> + Send,
___T: Transport,
<GetHardwareId as Method>::Response: Decode<<___T as Transport>::RecvBuffer>,
<GetEvent as Method>::Response: Decode<<___T as Transport>::RecvBuffer>,
Source§impl<___H, ___T> DispatchServerMessage<___H, ___T> for Devicewhere
___H: DeviceServerHandler<___T> + Send,
___T: Transport,
impl<___H, ___T> DispatchServerMessage<___H, ___T> for Devicewhere
___H: DeviceServerHandler<___T> + Send,
___T: Transport,
impl StructuralPartialEq for Device
Auto Trait Implementations§
impl Freeze for Device
impl RefUnwindSafe for Device
impl Send for Device
impl Sync for Device
impl Unpin for Device
impl UnwindSafe for Device
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
]