pub enum PowerServiceRequest {
Device(CombinedDeviceRequestStream),
PowerElementProvider(PowerElementProviderRequestStream),
DebugUtils(DebugUtilsRequestStream),
}Expand description
A request for one of the member protocols of PowerService.
Variants§
Device(CombinedDeviceRequestStream)
PowerElementProvider(PowerElementProviderRequestStream)
DebugUtils(DebugUtilsRequestStream)
Trait Implementations§
Source§impl ServiceRequest for PowerServiceRequest
Available on Fuchsia only.
impl ServiceRequest for PowerServiceRequest
Available on Fuchsia only.
Source§type Service = PowerServiceMarker
type Service = PowerServiceMarker
The FIDL service for which this request is destined.
Source§fn dispatch(name: &str, _channel: AsyncChannel) -> Self
fn dispatch(name: &str, _channel: AsyncChannel) -> Self
Dispatches a connection attempt to this FIDL service’s member protocol
identified by
name, producing an instance of this trait.Source§fn member_names() -> &'static [&'static str]
fn member_names() -> &'static [&'static str]
Returns an array of the service members’ names.
Auto Trait Implementations§
impl !RefUnwindSafe for PowerServiceRequest
impl !UnwindSafe for PowerServiceRequest
impl Freeze for PowerServiceRequest
impl Send for PowerServiceRequest
impl Sync for PowerServiceRequest
impl Unpin for PowerServiceRequest
impl UnsafeUnpin for PowerServiceRequest
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