pub struct X2Apic { /* private fields */ }Implementations§
Source§impl X2Apic
impl X2Apic
pub fn new() -> Option<Self>
pub fn is_supported() -> bool
pub fn enable(&self)
pub fn id(&self) -> u32
pub fn version(&self) -> u32
pub fn eoi(&self)
pub fn send_ipi(&self, target_id: u32, vector: u8)
pub fn configure_timer(&self, initial_count: u32, vector: u8, periodic: bool)
Auto Trait Implementations§
impl Freeze for X2Apic
impl RefUnwindSafe for X2Apic
impl Send for X2Apic
impl Sync for X2Apic
impl Unpin for X2Apic
impl UnsafeUnpin for X2Apic
impl UnwindSafe for X2Apic
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more