pub enum AnySmaMessageBase<V: SmaContainer<ObisValue>, W: SmaContainer<SmaInvMeterValue>> {
EmMessage(SmaEmMessageBase<V>),
InvGetDayData(SmaInvGetDayDataBase<W>),
InvIdentify(SmaInvIdentify),
InvLogin(SmaInvLogin),
InvLogout(SmaInvLogout),
}Expand description
Container that can hold any supported SMA speedwire message.
Variants§
EmMessage(SmaEmMessageBase<V>)
InvGetDayData(SmaInvGetDayDataBase<W>)
InvIdentify(SmaInvIdentify)
InvLogin(SmaInvLogin)
InvLogout(SmaInvLogout)
Trait Implementations§
Source§impl<V: Clone + SmaContainer<ObisValue>, W: Clone + SmaContainer<SmaInvMeterValue>> Clone for AnySmaMessageBase<V, W>
impl<V: Clone + SmaContainer<ObisValue>, W: Clone + SmaContainer<SmaInvMeterValue>> Clone for AnySmaMessageBase<V, W>
Source§fn clone(&self) -> AnySmaMessageBase<V, W>
fn clone(&self) -> AnySmaMessageBase<V, W>
Returns a duplicate 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<V: Debug + SmaContainer<ObisValue>, W: Debug + SmaContainer<SmaInvMeterValue>> Debug for AnySmaMessageBase<V, W>
impl<V: Debug + SmaContainer<ObisValue>, W: Debug + SmaContainer<SmaInvMeterValue>> Debug for AnySmaMessageBase<V, W>
Source§impl<V: PartialEq + SmaContainer<ObisValue>, W: PartialEq + SmaContainer<SmaInvMeterValue>> PartialEq for AnySmaMessageBase<V, W>
impl<V: PartialEq + SmaContainer<ObisValue>, W: PartialEq + SmaContainer<SmaInvMeterValue>> PartialEq for AnySmaMessageBase<V, W>
Source§impl<V: SmaContainer<ObisValue>, W: SmaContainer<SmaInvMeterValue>> SmaSerde for AnySmaMessageBase<V, W>
impl<V: SmaContainer<ObisValue>, W: SmaContainer<SmaInvMeterValue>> SmaSerde for AnySmaMessageBase<V, W>
impl<V: Eq + SmaContainer<ObisValue>, W: Eq + SmaContainer<SmaInvMeterValue>> Eq for AnySmaMessageBase<V, W>
impl<V: SmaContainer<ObisValue>, W: SmaContainer<SmaInvMeterValue>> StructuralPartialEq for AnySmaMessageBase<V, W>
Auto Trait Implementations§
impl<V, W> Freeze for AnySmaMessageBase<V, W>
impl<V, W> RefUnwindSafe for AnySmaMessageBase<V, W>where
V: RefUnwindSafe,
W: RefUnwindSafe,
impl<V, W> Send for AnySmaMessageBase<V, W>
impl<V, W> Sync for AnySmaMessageBase<V, W>
impl<V, W> Unpin for AnySmaMessageBase<V, W>
impl<V, W> UnwindSafe for AnySmaMessageBase<V, W>where
V: UnwindSafe,
W: UnwindSafe,
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