pub enum LocalServiceEvent {
OnSuppressDiscovery {},
OnNotifyValue {
payload: ValueChangedParameters,
},
OnIndicateValue {
update: ValueChangedParameters,
confirmation: EventPair,
},
}
Variants§
Implementations§
Source§impl LocalServiceEvent
impl LocalServiceEvent
pub fn into_on_suppress_discovery(self) -> Option<()>
pub fn into_on_notify_value(self) -> Option<ValueChangedParameters>
pub fn into_on_indicate_value( self, ) -> Option<(ValueChangedParameters, EventPair)>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LocalServiceEvent
impl RefUnwindSafe for LocalServiceEvent
impl Send for LocalServiceEvent
impl Sync for LocalServiceEvent
impl Unpin for LocalServiceEvent
impl UnwindSafe for LocalServiceEvent
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