pub struct Device;Expand description
The type corresponding to the Device protocol.
Trait Implementations§
Source§impl Discoverable for Device
impl Discoverable for Device
Source§const PROTOCOL_NAME: &'static str = "fuchsia.hardware.i2c.Device"
const PROTOCOL_NAME: &'static str = "fuchsia.hardware.i2c.Device"
The service name to use to connect to this discoverable protocol.
Source§impl<___H, ___T> DispatchClientMessage<___H, ___T> for Devicewhere
___H: DeviceClientHandler<___T> + Send,
___T: Transport,
impl<___H, ___T> DispatchClientMessage<___H, ___T> for Devicewhere
___H: DeviceClientHandler<___T> + Send,
___T: Transport,
Source§impl<___H, ___T> DispatchLocalClientMessage<___H, ___T> for Devicewhere
___H: DeviceLocalClientHandler<___T>,
___T: Transport,
impl<___H, ___T> DispatchLocalClientMessage<___H, ___T> for Devicewhere
___H: DeviceLocalClientHandler<___T>,
___T: Transport,
Source§impl<___H, ___T> DispatchLocalServerMessage<___H, ___T> for Devicewhere
___H: DeviceLocalServerHandler<___T>,
___T: Transport,
for<'de> DeviceTransferRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
impl<___H, ___T> DispatchLocalServerMessage<___H, ___T> for Devicewhere
___H: DeviceLocalServerHandler<___T>,
___T: Transport,
for<'de> DeviceTransferRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
Source§impl<___H, ___T> DispatchServerMessage<___H, ___T> for Devicewhere
___H: DeviceServerHandler<___T> + Send,
___T: Transport,
for<'de> DeviceTransferRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
impl<___H, ___T> DispatchServerMessage<___H, ___T> for Devicewhere
___H: DeviceServerHandler<___T> + Send,
___T: Transport,
for<'de> DeviceTransferRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
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
§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]