pub struct DriverDevice;Expand description
The type corresponding to the DriverDevice protocol.
A driver transport variant of the Device protocol.
Trait Implementations§
Source§impl Debug for DriverDevice
impl Debug for DriverDevice
Source§impl Discoverable for DriverDevice
impl Discoverable for DriverDevice
Source§const PROTOCOL_NAME: &'static str = "fuchsia.hardware.inlineencryption.DriverDevice"
const PROTOCOL_NAME: &'static str = "fuchsia.hardware.inlineencryption.DriverDevice"
The service name to use to connect to this discoverable protocol.
Source§impl<___H, ___T> DispatchClientMessage<___H, ___T> for DriverDevicewhere
___H: DriverDeviceClientHandler<___T> + Send,
___T: Transport,
impl<___H, ___T> DispatchClientMessage<___H, ___T> for DriverDevicewhere
___H: DriverDeviceClientHandler<___T> + Send,
___T: Transport,
Source§impl<___H, ___T> DispatchLocalClientMessage<___H, ___T> for DriverDevicewhere
___H: DriverDeviceLocalClientHandler<___T>,
___T: Transport,
impl<___H, ___T> DispatchLocalClientMessage<___H, ___T> for DriverDevicewhere
___H: DriverDeviceLocalClientHandler<___T>,
___T: Transport,
Source§impl<___H, ___T> DispatchLocalServerMessage<___H, ___T> for DriverDevicewhere
___H: DriverDeviceLocalServerHandler<___T>,
___T: Transport,
for<'de> DeviceProgramKeyRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> DeviceDeriveRawSecretRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
impl<___H, ___T> DispatchLocalServerMessage<___H, ___T> for DriverDevicewhere
___H: DriverDeviceLocalServerHandler<___T>,
___T: Transport,
for<'de> DeviceProgramKeyRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> DeviceDeriveRawSecretRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
Source§impl<___H, ___T> DispatchServerMessage<___H, ___T> for DriverDevicewhere
___H: DriverDeviceServerHandler<___T> + Send,
___T: Transport,
for<'de> DeviceProgramKeyRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> DeviceDeriveRawSecretRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
impl<___H, ___T> DispatchServerMessage<___H, ___T> for DriverDevicewhere
___H: DriverDeviceServerHandler<___T> + Send,
___T: Transport,
for<'de> DeviceProgramKeyRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> DeviceDeriveRawSecretRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
Source§impl<___T> HasConnectionHandles<___T> for DriverDevicewhere
___T: Transport,
impl<___T> HasConnectionHandles<___T> for DriverDevicewhere
___T: Transport,
Source§impl HasTransport for DriverDevice
Available on crate feature driver only.
impl HasTransport for DriverDevice
Available on crate feature
driver only.Source§type Transport = DriverChannel
type Transport = DriverChannel
The default transport type for this protocol.
Source§impl PartialEq for DriverDevice
impl PartialEq for DriverDevice
impl StructuralPartialEq for DriverDevice
Auto Trait Implementations§
impl Freeze for DriverDevice
impl RefUnwindSafe for DriverDevice
impl Send for DriverDevice
impl Sync for DriverDevice
impl Unpin for DriverDevice
impl UnwindSafe for DriverDevice
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]