pub struct DebugUtilsProxy { /* private fields */ }
Implementations§
Source§impl DebugUtilsProxy
impl DebugUtilsProxy
Sourcepub fn take_event_stream(&self) -> DebugUtilsEventStream
pub fn take_event_stream(&self) -> DebugUtilsEventStream
Get a Stream of events from the remote end of the protocol.
§Panics
Panics if the event stream was already taken.
Sourcepub fn set_power_state(
&self,
power_state: i64,
) -> QueryResponseFut<DebugUtilsSetPowerStateResult, DefaultFuchsiaResourceDialect>
pub fn set_power_state( &self, power_state: i64, ) -> QueryResponseFut<DebugUtilsSetPowerStateResult, DefaultFuchsiaResourceDialect>
Set the GPU power state. Returns after the transition is complete.
Trait Implementations§
Source§impl Clone for DebugUtilsProxy
impl Clone for DebugUtilsProxy
Source§fn clone(&self) -> DebugUtilsProxy
fn clone(&self) -> DebugUtilsProxy
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DebugUtilsProxy
impl Debug for DebugUtilsProxy
Source§impl DebugUtilsProxyInterface for DebugUtilsProxy
impl DebugUtilsProxyInterface for DebugUtilsProxy
type SetPowerStateResponseFut = QueryResponseFut<Result<(), i32>>
fn set_power_state(&self, power_state: i64) -> Self::SetPowerStateResponseFut
Source§impl Proxy for DebugUtilsProxy
impl Proxy for DebugUtilsProxy
Source§type Protocol = DebugUtilsMarker
type Protocol = DebugUtilsMarker
The protocol which this
Proxy
controls.Source§fn from_channel(inner: AsyncChannel) -> Self
fn from_channel(inner: AsyncChannel) -> Self
Create a proxy over the given channel.
Source§fn into_channel(self) -> Result<AsyncChannel, Self>
fn into_channel(self) -> Result<AsyncChannel, Self>
Attempt to convert the proxy back into a channel. Read more
Source§fn as_channel(&self) -> &AsyncChannel
fn as_channel(&self) -> &AsyncChannel
Get a reference to the proxy’s underlying channel. Read more
§fn into_client_end(self) -> Result<ClientEnd<Self::Protocol>, Self>
fn into_client_end(self) -> Result<ClientEnd<Self::Protocol>, Self>
Attempt to convert the proxy back into a client end. Read more
Auto Trait Implementations§
impl Freeze for DebugUtilsProxy
impl !RefUnwindSafe for DebugUtilsProxy
impl Send for DebugUtilsProxy
impl Sync for DebugUtilsProxy
impl Unpin for DebugUtilsProxy
impl !UnwindSafe for DebugUtilsProxy
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