pub enum MemHop {
Core,
Node,
Socket,
Board,
Unknown,
}
Expand description
Hop levels.
Since linux-5.16
: https://github.com/torvalds/linux/commit/fec9cc6175d0ec1e13efe12be491d9bd4de62f80
Variants§
Core
Remote core, same node.
Node
Remote node, same socket.
Since linux-5.17
: https://github.com/torvalds/linux/commit/cb1c4aba055f928ffae0c868e8dfe08eeab302e7
Socket
Remote socket, same board.
Since linux-5.17
: https://github.com/torvalds/linux/commit/cb1c4aba055f928ffae0c868e8dfe08eeab302e7
Board
Remote board.
Since linux-5.17
: https://github.com/torvalds/linux/commit/cb1c4aba055f928ffae0c868e8dfe08eeab302e7
Unknown
Unknown.
This is for compatibility, not ABI.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MemHop
impl RefUnwindSafe for MemHop
impl Send for MemHop
impl Sync for MemHop
impl Unpin for MemHop
impl UnwindSafe for MemHop
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