pub struct SensorGateway { /* private fields */ }
Trait Implementations§
Source§impl Debug for SensorGateway
impl Debug for SensorGateway
Source§impl From<ConfigFile> for SensorGateway
impl From<ConfigFile> for SensorGateway
Source§fn from(config: ConfigFile) -> Self
fn from(config: ConfigFile) -> Self
Converts to this type from the input type.
Source§impl Gateway for SensorGateway
impl Gateway for SensorGateway
fn handle_reading<'life0, 'async_trait>(
&'life0 self,
reading: SensorMessage,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for SensorGateway
impl !RefUnwindSafe for SensorGateway
impl Send for SensorGateway
impl Sync for SensorGateway
impl Unpin for SensorGateway
impl !UnwindSafe for SensorGateway
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