pub(super) struct ExecPorts(pub(super) u8);
Expand description
Identify one or more CPU execution ports
They are inspired by the Intel Ivy Bridge design and the original HashX implementation names them P5, P0, and P1.
We can mostly ignore the names and treat this as an array of three ports specified in the order that HashX tries to allocate them. The original HashX implementation explains this allocation order as an optimistic strategy which assumes P1 will typically be reserved for multiplication.
Tuple Fields§
§0: u8
Trait Implementations§
impl Copy for ExecPorts
impl Eq for ExecPorts
impl StructuralPartialEq for ExecPorts
Auto Trait Implementations§
impl Freeze for ExecPorts
impl RefUnwindSafe for ExecPorts
impl Send for ExecPorts
impl Sync for ExecPorts
impl Unpin for ExecPorts
impl UnwindSafe for ExecPorts
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