pub struct PowerServiceProxy(/* private fields */);Implementations§
Source§impl PowerServiceProxy
impl PowerServiceProxy
pub fn connect_to_device(&self) -> Result<CombinedDeviceProxy, Error>
Sourcepub fn connect_to_device_sync(
&self,
) -> Result<CombinedDeviceSynchronousProxy, Error>
pub fn connect_to_device_sync( &self, ) -> Result<CombinedDeviceSynchronousProxy, Error>
Like connect_to_device, but returns a sync proxy.
See Self::connect_to_device for more details.
Sourcepub fn connect_channel_to_device(
&self,
server_end: ServerEnd<CombinedDeviceMarker>,
) -> Result<(), Error>
pub fn connect_channel_to_device( &self, server_end: ServerEnd<CombinedDeviceMarker>, ) -> Result<(), Error>
Like connect_to_device, but accepts a server end.
See Self::connect_to_device for more details.
pub fn connect_to_power_element_provider( &self, ) -> Result<PowerElementProviderProxy, Error>
Sourcepub fn connect_to_power_element_provider_sync(
&self,
) -> Result<PowerElementProviderSynchronousProxy, Error>
pub fn connect_to_power_element_provider_sync( &self, ) -> Result<PowerElementProviderSynchronousProxy, Error>
Like connect_to_power_element_provider, but returns a sync proxy.
See Self::connect_to_power_element_provider for more details.
Sourcepub fn connect_channel_to_power_element_provider(
&self,
server_end: ServerEnd<PowerElementProviderMarker>,
) -> Result<(), Error>
pub fn connect_channel_to_power_element_provider( &self, server_end: ServerEnd<PowerElementProviderMarker>, ) -> Result<(), Error>
Like connect_to_power_element_provider, but accepts a server end.
See Self::connect_to_power_element_provider for more details.
pub fn connect_to_debug_utils(&self) -> Result<DebugUtilsProxy, Error>
Sourcepub fn connect_to_debug_utils_sync(
&self,
) -> Result<DebugUtilsSynchronousProxy, Error>
pub fn connect_to_debug_utils_sync( &self, ) -> Result<DebugUtilsSynchronousProxy, Error>
Like connect_to_debug_utils, but returns a sync proxy.
See Self::connect_to_debug_utils for more details.
Sourcepub fn connect_channel_to_debug_utils(
&self,
server_end: ServerEnd<DebugUtilsMarker>,
) -> Result<(), Error>
pub fn connect_channel_to_debug_utils( &self, server_end: ServerEnd<DebugUtilsMarker>, ) -> Result<(), Error>
Like connect_to_debug_utils, but accepts a server end.
See Self::connect_to_debug_utils for more details.
pub fn instance_name(&self) -> &str
Trait Implementations§
Source§impl ServiceProxy for PowerServiceProxy
Available on Fuchsia only.
impl ServiceProxy for PowerServiceProxy
Available on Fuchsia only.
Source§type Service = PowerServiceMarker
type Service = PowerServiceMarker
The FIDL service this proxy represents.
Auto Trait Implementations§
impl !RefUnwindSafe for PowerServiceProxy
impl !UnwindSafe for PowerServiceProxy
impl Freeze for PowerServiceProxy
impl Send for PowerServiceProxy
impl Sync for PowerServiceProxy
impl Unpin for PowerServiceProxy
impl UnsafeUnpin for PowerServiceProxy
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