Struct ya_agreement_utils::CpuInfo
source · pub struct CpuInfo {
pub architecture: String,
pub cores: u32,
pub threads: u32,
}
Fields§
§architecture: String
§cores: u32
§threads: u32
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for CpuInfo
impl Send for CpuInfo
impl Sync for CpuInfo
impl Unpin for CpuInfo
impl UnwindSafe for CpuInfo
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