Struct dittolive_ditto::transport::LanConfig
source · pub struct LanConfig {
pub enabled: bool,
pub mdns_enabled: bool,
pub multicast_enabled: bool,
}
Fields§
§enabled: bool
§mdns_enabled: bool
§multicast_enabled: bool
👎Deprecated: Multicast is deprecated. Please use mDNS.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for LanConfig
impl<'de> Deserialize<'de> for LanConfig
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
source§impl PartialEq<LanConfig> for LanConfig
impl PartialEq<LanConfig> for LanConfig
impl Eq for LanConfig
impl StructuralEq for LanConfig
impl StructuralPartialEq for LanConfig
Auto Trait Implementations§
impl RefUnwindSafe for LanConfig
impl Send for LanConfig
impl Sync for LanConfig
impl Unpin for LanConfig
impl UnwindSafe for LanConfig
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
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more