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