Struct dittolive_ditto::transport::PeerToPeer
source · [−]pub struct PeerToPeer {
pub bluetooth_le: BluetoothConfig,
pub lan: LanConfig,
}
Fields
bluetooth_le: BluetoothConfig
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 more
sourceimpl 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 PartialEq<PeerToPeer> for PeerToPeer
impl PartialEq<PeerToPeer> for PeerToPeer
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &PeerToPeer) -> bool
fn ne(&self, other: &PeerToPeer) -> bool
This method tests for !=
.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ManuallyDropMut for T
impl<T> ManuallyDropMut for T
type Ret = ManuallyDrop<T>
pub fn manually_drop_mut(&'__ mut self) -> &'__ mut ManuallyDrop<T>
impl<T> To for T where
T: ?Sized,
impl<T> To for T where
T: ?Sized,
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more