pub struct LightServiceProxy(/* private fields */);
Implementations§
Source§impl LightServiceProxy
impl LightServiceProxy
pub fn connect_to_light(&self) -> Result<LightProxy, Error>
Sourcepub fn connect_to_light_sync(&self) -> Result<LightSynchronousProxy, Error>
pub fn connect_to_light_sync(&self) -> Result<LightSynchronousProxy, Error>
Like connect_to_light
, but returns a sync proxy.
See Self::connect_to_light
for more details.
Sourcepub fn connect_channel_to_light(
&self,
server_end: ServerEnd<LightMarker>,
) -> Result<(), Error>
pub fn connect_channel_to_light( &self, server_end: ServerEnd<LightMarker>, ) -> Result<(), Error>
Like connect_to_light
, but accepts a server end.
See Self::connect_to_light
for more details.
pub fn instance_name(&self) -> &str
Trait Implementations§
Source§impl ServiceProxy for LightServiceProxy
impl ServiceProxy for LightServiceProxy
Source§type Service = LightServiceMarker
type Service = LightServiceMarker
The FIDL service this proxy represents.
Auto Trait Implementations§
impl Freeze for LightServiceProxy
impl !RefUnwindSafe for LightServiceProxy
impl Send for LightServiceProxy
impl Sync for LightServiceProxy
impl Unpin for LightServiceProxy
impl !UnwindSafe for LightServiceProxy
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