Struct dittolive_ditto::transport::PeerToPeer
source · pub struct PeerToPeer {
pub bluetooth_le: BluetoothLEConfig,
pub lan: LanConfig,
}
Fields§
§bluetooth_le: BluetoothLEConfig
§lan: LanConfig
Trait Implementations§
source§impl Clone for PeerToPeer
impl Clone for PeerToPeer
source§fn clone(&self) -> PeerToPeer
fn clone(&self) -> PeerToPeer
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PeerToPeer
impl Debug for PeerToPeer
source§impl Default for PeerToPeer
impl Default for PeerToPeer
source§fn default() -> PeerToPeer
fn default() -> PeerToPeer
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PeerToPeer
impl<'de> Deserialize<'de> for PeerToPeer
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<PeerToPeer> for PeerToPeer
impl PartialEq<PeerToPeer> for PeerToPeer
source§fn eq(&self, other: &PeerToPeer) -> bool
fn eq(&self, other: &PeerToPeer) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PeerToPeer
impl Serialize for PeerToPeer
impl Eq for PeerToPeer
impl StructuralEq for PeerToPeer
impl StructuralPartialEq for PeerToPeer
Auto Trait Implementations§
impl RefUnwindSafe for PeerToPeer
impl Send for PeerToPeer
impl Sync for PeerToPeer
impl Unpin for PeerToPeer
impl UnwindSafe for PeerToPeer
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