pub struct DummyHub {
wiser_data: WiserData,
}
Fields§
§wiser_data: WiserData
Trait Implementations§
source§impl WiserHub for DummyHub
impl WiserHub for DummyHub
fn get_data<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<WiserData, RetrieveDataError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_room_data<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<WiserRoomData>, RetrieveDataError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn cancel_boost<'life0, 'async_trait>(
&'life0 self,
room_id: usize,
_originator: String
) -> Pin<Box<dyn Future<Output = Result<(), Box<dyn Error>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn set_boost<'life0, 'async_trait>(
&'life0 self,
room_id: usize,
duration_minutes: usize,
temp: f32,
originator: String
) -> Pin<Box<dyn Future<Output = Result<(f32, DateTime<Utc>), Box<dyn Error>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl RefUnwindSafe for DummyHub
impl Send for DummyHub
impl Sync for DummyHub
impl Unpin for DummyHub
impl UnwindSafe for DummyHub
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