Struct dittolive_ditto::transport::PeerToPeer
source · [−]pub struct PeerToPeer {
pub bluetooth_le: BluetoothLEConfig,
pub lan: LanConfig,
}
Fields
bluetooth_le: BluetoothLEConfig
lan: LanConfig
Trait Implementations
sourceimpl Clone for PeerToPeer
impl Clone for PeerToPeer
sourcefn clone(&self) -> PeerToPeer
fn clone(&self) -> PeerToPeer
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PeerToPeer
impl Debug for PeerToPeer
sourceimpl Default for PeerToPeer
impl Default for PeerToPeer
sourcefn default() -> PeerToPeer
fn default() -> PeerToPeer
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for PeerToPeer
impl<'de> Deserialize<'de> for PeerToPeer
sourcefn 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
sourceimpl PartialEq<PeerToPeer> for PeerToPeer
impl PartialEq<PeerToPeer> for PeerToPeer
sourcefn eq(&self, other: &PeerToPeer) -> bool
fn eq(&self, other: &PeerToPeer) -> bool
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn 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
fn compat_ref(&self) -> Compat<&T>
fn compat_ref(&self) -> Compat<&T>
Applies the [
Compat
] adapter by shared reference. Read morefn compat_mut(&mut self) -> Compat<&mut T>
fn compat_mut(&mut self) -> Compat<&mut T>
Applies the [
Compat
] adapter by mutable reference. Read more