pub struct DataServiceProxy(/* private fields */);Implementations§
Source§impl DataServiceProxy
impl DataServiceProxy
pub fn connect_to_data(&self) -> Result<DataPlaneProxy, Error>
Sourcepub fn connect_to_data_sync(&self) -> Result<DataPlaneSynchronousProxy, Error>
pub fn connect_to_data_sync(&self) -> Result<DataPlaneSynchronousProxy, Error>
Like connect_to_data, but returns a sync proxy.
See Self::connect_to_data for more details.
Sourcepub fn connect_channel_to_data(
&self,
server_end: ServerEnd<DataPlaneMarker>,
) -> Result<(), Error>
pub fn connect_channel_to_data( &self, server_end: ServerEnd<DataPlaneMarker>, ) -> Result<(), Error>
Like connect_to_data, but accepts a server end.
See Self::connect_to_data for more details.
pub fn instance_name(&self) -> &str
Trait Implementations§
Source§impl ServiceProxy for DataServiceProxy
Available on Fuchsia only.
impl ServiceProxy for DataServiceProxy
Available on Fuchsia only.
Source§type Service = DataServiceMarker
type Service = DataServiceMarker
The FIDL service this proxy represents.
Auto Trait Implementations§
impl Freeze for DataServiceProxy
impl !RefUnwindSafe for DataServiceProxy
impl Send for DataServiceProxy
impl Sync for DataServiceProxy
impl Unpin for DataServiceProxy
impl UnsafeUnpin for DataServiceProxy
impl !UnwindSafe for DataServiceProxy
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