pub struct KernelTlsBase(/* private fields */);Expand description
Kernel task-local storage base owned by one execution context.
This value follows a task across CPUs. It must never be used as a CPU-local anchor or initialized from an architecture per-CPU register.
Implementations§
Trait Implementations§
Source§impl Clone for KernelTlsBase
impl Clone for KernelTlsBase
Source§fn clone(&self) -> KernelTlsBase
fn clone(&self) -> KernelTlsBase
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for KernelTlsBase
Source§impl Debug for KernelTlsBase
impl Debug for KernelTlsBase
Source§impl Default for KernelTlsBase
impl Default for KernelTlsBase
Source§fn default() -> KernelTlsBase
fn default() -> KernelTlsBase
Returns the “default value” for a type. Read more
impl Eq for KernelTlsBase
Source§impl PartialEq for KernelTlsBase
impl PartialEq for KernelTlsBase
impl StructuralPartialEq for KernelTlsBase
Auto Trait Implementations§
impl Freeze for KernelTlsBase
impl RefUnwindSafe for KernelTlsBase
impl Send for KernelTlsBase
impl Sync for KernelTlsBase
impl Unpin for KernelTlsBase
impl UnsafeUnpin for KernelTlsBase
impl UnwindSafe for KernelTlsBase
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