pub struct SubTargetServiceProxy(/* private fields */);Expand description
This service represents a sub-target device within an SPMI target. Clients have access to a subset of the SPMI register range as determined by the controller driver.
Implementations§
Source§impl SubTargetServiceProxy
impl SubTargetServiceProxy
pub fn connect_to_device(&self) -> Result<DeviceProxy, Error>
Sourcepub fn connect_to_device_sync(&self) -> Result<DeviceSynchronousProxy, Error>
pub fn connect_to_device_sync(&self) -> Result<DeviceSynchronousProxy, 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<DeviceMarker>,
) -> Result<(), Error>
pub fn connect_channel_to_device( &self, server_end: ServerEnd<DeviceMarker>, ) -> 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 SubTargetServiceProxy
Available on Fuchsia only.
impl ServiceProxy for SubTargetServiceProxy
Available on Fuchsia only.
Source§type Service = SubTargetServiceMarker
type Service = SubTargetServiceMarker
The FIDL service this proxy represents.
Auto Trait Implementations§
impl Freeze for SubTargetServiceProxy
impl !RefUnwindSafe for SubTargetServiceProxy
impl Send for SubTargetServiceProxy
impl Sync for SubTargetServiceProxy
impl Unpin for SubTargetServiceProxy
impl UnsafeUnpin for SubTargetServiceProxy
impl !UnwindSafe for SubTargetServiceProxy
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