pub struct HostResourceProfile {
pub cpu_cores: usize,
pub memory_mib: usize,
}Available on crate feature
autotune only.Expand description
Fields§
§cpu_cores: usizeDetected logical cores.
memory_mib: usizeEstimated memory in MiB.
Trait Implementations§
Source§impl Clone for HostResourceProfile
impl Clone for HostResourceProfile
Source§fn clone(&self) -> HostResourceProfile
fn clone(&self) -> HostResourceProfile
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 HostResourceProfile
impl Debug for HostResourceProfile
Source§impl PartialEq for HostResourceProfile
impl PartialEq for HostResourceProfile
impl Copy for HostResourceProfile
impl Eq for HostResourceProfile
impl StructuralPartialEq for HostResourceProfile
Auto Trait Implementations§
impl Freeze for HostResourceProfile
impl RefUnwindSafe for HostResourceProfile
impl Send for HostResourceProfile
impl Sync for HostResourceProfile
impl Unpin for HostResourceProfile
impl UnsafeUnpin for HostResourceProfile
impl UnwindSafe for HostResourceProfile
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.