pub struct PlatformBus;Expand description
The type corresponding to the PlatformBus protocol.
Trait Implementations§
Source§impl Debug for PlatformBus
impl Debug for PlatformBus
Source§impl Discoverable for PlatformBus
impl Discoverable for PlatformBus
Source§const PROTOCOL_NAME: &'static str = "fuchsia.hardware.platform.bus.PlatformBus"
const PROTOCOL_NAME: &'static str = "fuchsia.hardware.platform.bus.PlatformBus"
The service name to use to connect to this discoverable protocol.
Source§impl<___H, ___T> DispatchClientMessage<___H, ___T> for PlatformBuswhere
___H: PlatformBusClientHandler<___T> + Send,
___T: Transport,
impl<___H, ___T> DispatchClientMessage<___H, ___T> for PlatformBuswhere
___H: PlatformBusClientHandler<___T> + Send,
___T: Transport,
Source§impl<___H, ___T> DispatchLocalClientMessage<___H, ___T> for PlatformBuswhere
___H: PlatformBusLocalClientHandler<___T>,
___T: Transport,
impl<___H, ___T> DispatchLocalClientMessage<___H, ___T> for PlatformBuswhere
___H: PlatformBusLocalClientHandler<___T>,
___T: Transport,
Source§impl<___H, ___T> DispatchLocalServerMessage<___H, ___T> for PlatformBuswhere
___H: PlatformBusLocalServerHandler<___T>,
___T: Transport,
for<'de> PlatformBusNodeAddRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> PlatformBusSetBoardInfoRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> PlatformBusSetBootloaderInfoRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> PlatformBusRegisterSysSuspendCallbackRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> PlatformBusAddCompositeNodeSpecRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> PlatformBusRegisterIommuRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
impl<___H, ___T> DispatchLocalServerMessage<___H, ___T> for PlatformBuswhere
___H: PlatformBusLocalServerHandler<___T>,
___T: Transport,
for<'de> PlatformBusNodeAddRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> PlatformBusSetBoardInfoRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> PlatformBusSetBootloaderInfoRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> PlatformBusRegisterSysSuspendCallbackRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> PlatformBusAddCompositeNodeSpecRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> PlatformBusRegisterIommuRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
Source§impl<___H, ___T> DispatchServerMessage<___H, ___T> for PlatformBuswhere
___H: PlatformBusServerHandler<___T> + Send,
___T: Transport,
for<'de> PlatformBusNodeAddRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> PlatformBusSetBoardInfoRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> PlatformBusSetBootloaderInfoRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> PlatformBusRegisterSysSuspendCallbackRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> PlatformBusAddCompositeNodeSpecRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> PlatformBusRegisterIommuRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
impl<___H, ___T> DispatchServerMessage<___H, ___T> for PlatformBuswhere
___H: PlatformBusServerHandler<___T> + Send,
___T: Transport,
for<'de> PlatformBusNodeAddRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> PlatformBusSetBoardInfoRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> PlatformBusSetBootloaderInfoRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> PlatformBusRegisterSysSuspendCallbackRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> PlatformBusAddCompositeNodeSpecRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> PlatformBusRegisterIommuRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
Source§impl<___T> HasConnectionHandles<___T> for PlatformBuswhere
___T: Transport,
impl<___T> HasConnectionHandles<___T> for PlatformBuswhere
___T: Transport,
Source§impl HasTransport for PlatformBus
Available on crate feature driver only.
impl HasTransport for PlatformBus
Available on crate feature
driver only.Source§type Transport = DriverChannel
type Transport = DriverChannel
The default transport type for this protocol.
Source§impl PartialEq for PlatformBus
impl PartialEq for PlatformBus
Source§fn eq(&self, other: &PlatformBus) -> bool
fn eq(&self, other: &PlatformBus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PlatformBus
Auto Trait Implementations§
impl Freeze for PlatformBus
impl RefUnwindSafe for PlatformBus
impl Send for PlatformBus
impl Sync for PlatformBus
impl Unpin for PlatformBus
impl UnsafeUnpin for PlatformBus
impl UnwindSafe for PlatformBus
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]