Struct dittolive_ditto::transport::TcpListenConfig
source · [−]Fields
enabled: bool
interface_ip: String
port: u16
Implementations
Trait Implementations
sourceimpl Clone for TcpListenConfig
impl Clone for TcpListenConfig
sourcefn clone(&self) -> TcpListenConfig
fn clone(&self) -> TcpListenConfig
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 TcpListenConfig
impl Debug for TcpListenConfig
sourceimpl Default for TcpListenConfig
impl Default for TcpListenConfig
sourcefn default() -> TcpListenConfig
fn default() -> TcpListenConfig
Returns the “default value” for a type. Read more
sourceimpl PartialEq<TcpListenConfig> for TcpListenConfig
impl PartialEq<TcpListenConfig> for TcpListenConfig
sourcefn eq(&self, other: &TcpListenConfig) -> bool
fn eq(&self, other: &TcpListenConfig) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TcpListenConfig) -> bool
fn ne(&self, other: &TcpListenConfig) -> bool
This method tests for !=
.
impl Eq for TcpListenConfig
impl StructuralEq for TcpListenConfig
impl StructuralPartialEq for TcpListenConfig
Auto Trait Implementations
impl RefUnwindSafe for TcpListenConfig
impl Send for TcpListenConfig
impl Sync for TcpListenConfig
impl Unpin for TcpListenConfig
impl UnwindSafe for TcpListenConfig
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