pub struct ConstSystemInfo {
pub cpus: u8,
pub local_addr: SocketAddr,
}Fields§
§cpus: u8§local_addr: SocketAddrTrait Implementations§
Source§impl Clone for ConstSystemInfo
impl Clone for ConstSystemInfo
Source§fn clone(&self) -> ConstSystemInfo
fn clone(&self) -> ConstSystemInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConstSystemInfo
impl Debug for ConstSystemInfo
Source§impl<'de> Deserialize<'de> for ConstSystemInfo
impl<'de> Deserialize<'de> for ConstSystemInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ConstSystemInfo
impl RefUnwindSafe for ConstSystemInfo
impl Send for ConstSystemInfo
impl Sync for ConstSystemInfo
impl Unpin for ConstSystemInfo
impl UnwindSafe for ConstSystemInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more