pub struct LocalServiceControlHandle { /* private fields */ }
Implementations§
source§impl LocalServiceControlHandle
impl LocalServiceControlHandle
pub fn send_on_suppress_discovery(&self) -> Result<(), Error>
pub fn send_on_notify_value( &self, payload: &ValueChangedParameters ) -> Result<(), Error>
pub fn send_on_indicate_value( &self, update: &ValueChangedParameters, confirmation: EventPair ) -> Result<(), Error>
Trait Implementations§
source§impl Clone for LocalServiceControlHandle
impl Clone for LocalServiceControlHandle
source§fn clone(&self) -> LocalServiceControlHandle
fn clone(&self) -> LocalServiceControlHandle
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl ControlHandle for LocalServiceControlHandle
impl ControlHandle for LocalServiceControlHandle
Auto Trait Implementations§
impl Freeze for LocalServiceControlHandle
impl !RefUnwindSafe for LocalServiceControlHandle
impl Send for LocalServiceControlHandle
impl Sync for LocalServiceControlHandle
impl Unpin for LocalServiceControlHandle
impl !UnwindSafe for LocalServiceControlHandle
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