pub enum ConnectionTarget {
Remote {
host: String,
port: u16,
},
}Expand description
How to connect to the MQTT broker.
Variants§
Auto Trait Implementations§
impl Freeze for ConnectionTarget
impl RefUnwindSafe for ConnectionTarget
impl Send for ConnectionTarget
impl Sync for ConnectionTarget
impl Unpin for ConnectionTarget
impl UnsafeUnpin for ConnectionTarget
impl UnwindSafe for ConnectionTarget
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