pub struct HS300<T: Protocol> { /* private fields */ }Expand description
A HS300 smart power strip with energy monitoring
When directly creating a device using the from_* methods below, you must make sure that the address you pass is indeed that of a HS300, as there is no further checking.
Implementations§
Trait Implementations§
Source§impl<T: Protocol> DeviceActions for HS300<T>
impl<T: Protocol> DeviceActions for HS300<T>
Source§impl<T: Protocol> Emeter for HS300<T>
impl<T: Protocol> Emeter for HS300<T>
Auto Trait Implementations§
impl<T> Freeze for HS300<T>where
T: Freeze,
impl<T> RefUnwindSafe for HS300<T>where
T: RefUnwindSafe,
impl<T> Send for HS300<T>
impl<T> Sync for HS300<T>where
T: Sync,
impl<T> Unpin for HS300<T>where
T: Unpin,
impl<T> UnwindSafe for HS300<T>where
T: 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