Struct distant_core::DistantServerOptions
source · [−]pub struct DistantServerOptions {
pub shutdown_after: Option<Duration>,
pub max_msg_capacity: usize,
}Fields
shutdown_after: Option<Duration>max_msg_capacity: usizeTrait Implementations
sourceimpl Clone for DistantServerOptions
impl Clone for DistantServerOptions
sourcefn clone(&self) -> DistantServerOptions
fn clone(&self) -> DistantServerOptions
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 DistantServerOptions
impl Debug for DistantServerOptions
sourceimpl Default for DistantServerOptions
impl Default for DistantServerOptions
sourceimpl PartialEq<DistantServerOptions> for DistantServerOptions
impl PartialEq<DistantServerOptions> for DistantServerOptions
sourcefn eq(&self, other: &DistantServerOptions) -> bool
fn eq(&self, other: &DistantServerOptions) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &DistantServerOptions) -> bool
fn ne(&self, other: &DistantServerOptions) -> bool
This method tests for !=.
impl Eq for DistantServerOptions
impl StructuralEq for DistantServerOptions
impl StructuralPartialEq for DistantServerOptions
Auto Trait Implementations
impl RefUnwindSafe for DistantServerOptions
impl Send for DistantServerOptions
impl Sync for DistantServerOptions
impl Unpin for DistantServerOptions
impl UnwindSafe for DistantServerOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
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.
sourcefn clone_into(&self, target: &mut T)
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