pub struct Topology;Expand description
The type corresponding to the Topology protocol. This is the primary initial protocol used by Power Element Owners to communicate with Power Broker. Power Element Owners should add the elements they own to the Power Topology through AddElement. All further interactions with Power Broker are done through channels opened by the AddElement call, which are scoped to the added element.
Trait Implementations§
Source§impl ClientCompatFrom<TopologyProxy> for Topology
Available on Fuchsia only.
impl ClientCompatFrom<TopologyProxy> for Topology
Available on Fuchsia only.
Source§fn client_compat_from(proxy: TopologyProxy) -> ClientDispatcher<Self, Channel>
fn client_compat_from(proxy: TopologyProxy) -> ClientDispatcher<Self, Channel>
Converts
proxy into a Client for this protocol.Source§impl CompatFrom<Topology> for TopologyMarker
impl CompatFrom<Topology> for TopologyMarker
Source§fn compat_from(_: Topology) -> Self
fn compat_from(_: Topology) -> Self
Converts
value into a value of this type.Source§impl CompatFrom<TopologyMarker> for Topology
impl CompatFrom<TopologyMarker> for Topology
Source§fn compat_from(_: TopologyMarker) -> Self
fn compat_from(_: TopologyMarker) -> Self
Converts
value into a value of this type.Source§impl Discoverable for Topology
impl Discoverable for Topology
Source§const PROTOCOL_NAME: &'static str = "fuchsia.power.broker.Topology"
const PROTOCOL_NAME: &'static str = "fuchsia.power.broker.Topology"
The service name to use to connect to this discoverable protocol.
Source§impl<___H, ___T> DispatchClientMessage<___H, ___T> for Topologywhere
___H: TopologyClientHandler<___T> + Send,
___T: Transport,
impl<___H, ___T> DispatchClientMessage<___H, ___T> for Topologywhere
___H: TopologyClientHandler<___T> + Send,
___T: Transport,
Source§impl<___H, ___T> DispatchServerMessage<___H, ___T> for Topologywhere
___H: TopologyServerHandler<___T> + Send,
___T: Transport,
<AddElement as Method>::Request: Decode<<___T as Transport>::RecvBuffer>,
impl<___H, ___T> DispatchServerMessage<___H, ___T> for Topologywhere
___H: TopologyServerHandler<___T> + Send,
___T: Transport,
<AddElement as Method>::Request: Decode<<___T as Transport>::RecvBuffer>,
impl StructuralPartialEq for Topology
Auto Trait Implementations§
impl Freeze for Topology
impl RefUnwindSafe for Topology
impl Send for Topology
impl Sync for Topology
impl Unpin for Topology
impl UnwindSafe for Topology
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]