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