Struct rf_distributed_impl::network::NetworkFactory
source · pub struct NetworkFactory;
Expand description
This struct represent a factory that will be used to create a Network
Implementations§
source§impl NetworkFactory
impl NetworkFactory
sourcepub async fn async_mqtt_network(
options: MqttOptions,
topics: Vec<i32>
) -> Box<dyn Network>
pub async fn async_mqtt_network( options: MqttOptions, topics: Vec<i32> ) -> Box<dyn Network>
Auto Trait Implementations§
impl RefUnwindSafe for NetworkFactory
impl Send for NetworkFactory
impl Sync for NetworkFactory
impl Unpin for NetworkFactory
impl UnwindSafe for NetworkFactory
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