pub struct Device;Expand description
The type corresponding to the Device protocol.
Trait Implementations§
Source§impl ClientCompatFrom<DeviceProxy> for Device
Available on Fuchsia only.
impl ClientCompatFrom<DeviceProxy> for Device
Available on Fuchsia only.
Source§fn client_compat_from(proxy: DeviceProxy) -> ClientDispatcher<Device, Channel>
fn client_compat_from(proxy: DeviceProxy) -> ClientDispatcher<Device, Channel>
Converts
proxy into a Client for this protocol.Source§impl CompatFrom<DeviceMarker> for Device
impl CompatFrom<DeviceMarker> for Device
Source§fn compat_from(_: DeviceMarker) -> Device
fn compat_from(_: DeviceMarker) -> Device
Converts
value into a value of this type.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> DispatchServerMessage<___H, ___T> for Devicewhere
___H: DeviceServerHandler<___T> + Send,
___T: Transport,
<Transfer as Method>::Request: Decode<<___T as Transport>::RecvBuffer>,
impl<___H, ___T> DispatchServerMessage<___H, ___T> for Devicewhere
___H: DeviceServerHandler<___T> + Send,
___T: Transport,
<Transfer as Method>::Request: Decode<<___T as Transport>::RecvBuffer>,
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]