Struct samotop::model::server::SamotopServer
source · pub struct SamotopServer<S> {
pub addr: String,
pub service: S,
}
Fields
addr: String
service: S
Trait Implementations
sourceimpl<S: Clone> Clone for SamotopServer<S>
impl<S: Clone> Clone for SamotopServer<S>
sourcefn clone(&self) -> SamotopServer<S>
fn clone(&self) -> SamotopServer<S>
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 moreAuto Trait Implementations
impl<S> RefUnwindSafe for SamotopServer<S>where
S: RefUnwindSafe,
impl<S> Send for SamotopServer<S>where
S: Send,
impl<S> Sync for SamotopServer<S>where
S: Sync,
impl<S> Unpin for SamotopServer<S>where
S: Unpin,
impl<S> UnwindSafe for SamotopServer<S>where
S: UnwindSafe,
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