pub struct DebugServiceProxy(/* private fields */);Expand description
This service can be used by command-line utilities and tests to connect to any target device on the SPMI bus. It is not exposed to drivers.
Implementations§
Source§impl DebugServiceProxy
impl DebugServiceProxy
pub fn connect_to_device(&self) -> Result<DebugProxy, Error>
Sourcepub fn connect_to_device_sync(&self) -> Result<DebugSynchronousProxy, Error>
pub fn connect_to_device_sync(&self) -> Result<DebugSynchronousProxy, 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<DebugMarker>,
) -> Result<(), Error>
pub fn connect_channel_to_device( &self, server_end: ServerEnd<DebugMarker>, ) -> Result<(), Error>
Like connect_to_device, but accepts a server end.
See Self::connect_to_device for more details.
pub fn instance_name(&self) -> &str
Trait Implementations§
Source§impl ServiceProxy for DebugServiceProxy
Available on Fuchsia only.
impl ServiceProxy for DebugServiceProxy
Available on Fuchsia only.
Source§type Service = DebugServiceMarker
type Service = DebugServiceMarker
The FIDL service this proxy represents.
Auto Trait Implementations§
impl Freeze for DebugServiceProxy
impl !RefUnwindSafe for DebugServiceProxy
impl Send for DebugServiceProxy
impl Sync for DebugServiceProxy
impl Unpin for DebugServiceProxy
impl UnsafeUnpin for DebugServiceProxy
impl !UnwindSafe for DebugServiceProxy
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