pub struct Status;Expand description
The type corresponding to the Status protocol. Provides read-only access to the current PowerLevel of an element and the ability to watch changes to an element’s power level. A new channel to this protocol can be obtained by calling OpenStatus on the element’s ElementControl channel (and passed to other clients who need access to the element’s current power level).
Trait Implementations§
Source§impl ClientCompatFrom<StatusProxy> for Status
Available on Fuchsia only.
impl ClientCompatFrom<StatusProxy> for Status
Available on Fuchsia only.
Source§fn client_compat_from(proxy: StatusProxy) -> ClientDispatcher<Self, Channel>
fn client_compat_from(proxy: StatusProxy) -> ClientDispatcher<Self, Channel>
Converts
proxy into a Client for this protocol.Source§impl CompatFrom<Status> for StatusMarker
impl CompatFrom<Status> for StatusMarker
Source§fn compat_from(_: Status) -> Self
fn compat_from(_: Status) -> Self
Converts
value into a value of this type.Source§impl CompatFrom<StatusMarker> for Status
impl CompatFrom<StatusMarker> for Status
Source§fn compat_from(_: StatusMarker) -> Self
fn compat_from(_: StatusMarker) -> Self
Converts
value into a value of this type.Source§impl<___H, ___T> DispatchClientMessage<___H, ___T> for Statuswhere
___H: StatusClientHandler<___T> + Send,
___T: Transport,
impl<___H, ___T> DispatchClientMessage<___H, ___T> for Statuswhere
___H: StatusClientHandler<___T> + Send,
___T: Transport,
Source§impl<___H, ___T> DispatchServerMessage<___H, ___T> for Statuswhere
___H: StatusServerHandler<___T> + Send,
___T: Transport,
impl<___H, ___T> DispatchServerMessage<___H, ___T> for Statuswhere
___H: StatusServerHandler<___T> + Send,
___T: Transport,
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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]