pub struct Daemon { /* private fields */ }Implementations§
Source§impl Daemon
impl Daemon
pub fn new(config: Configuration) -> Daemon
pub fn update_data(self: &mut Daemon) -> StatusMessage
pub fn register_sensors(&mut self)
pub async fn run(self: &mut Daemon)
pub fn registration_descriptor(&self) -> &RegistrationDescriptor
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Daemon
impl !RefUnwindSafe for Daemon
impl Send for Daemon
impl Sync for Daemon
impl Unpin for Daemon
impl !UnwindSafe for Daemon
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