pub struct Rumqttd {
pub mqtt_port: Option<u16>,
pub mqtts_port: Option<u16>,
pub console_port: Option<u16>,
}
Expand description
Configurations for rumqttd.
Fields§
§mqtt_port: Option<u16>
MQTT listen port. Default is 1883.
mqtts_port: Option<u16>
MQTTS listen port. Default is 8883. This must used with both cert_file
and key_file
in
sylvia_iot_corelib::server_config::Config
.
console_port: Option<u16>
Console listen port. Default is 18083.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Rumqttd
impl<'de> Deserialize<'de> for Rumqttd
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Rumqttd
impl RefUnwindSafe for Rumqttd
impl Send for Rumqttd
impl Sync for Rumqttd
impl Unpin for Rumqttd
impl UnwindSafe for Rumqttd
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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