Struct esp_idf_sys::xTASK_SNAPSHOT
source · #[repr(C)]pub struct xTASK_SNAPSHOT {
pub pxTCB: *mut c_void,
pub pxTopOfStack: *mut StackType_t,
pub pxEndOfStack: *mut StackType_t,
}
Expand description
@brief Task Snapshot structure
- Used with the uxTaskGetSnapshotAll() function to save memory snapshot of each task in the system.
- We need this structure because TCB_t is defined (hidden) in tasks.c.
Fields§
§pxTCB: *mut c_void
< Address of the task control block.
pxTopOfStack: *mut StackType_t
< Points to the location of the last item placed on the tasks stack.
pxEndOfStack: *mut StackType_t
< Points to the end of the stack. pxTopOfStack < pxEndOfStack, stack grows hi2lo pxTopOfStack > pxEndOfStack, stack grows lo2hi
Trait Implementations§
source§impl Clone for xTASK_SNAPSHOT
impl Clone for xTASK_SNAPSHOT
source§fn clone(&self) -> xTASK_SNAPSHOT
fn clone(&self) -> xTASK_SNAPSHOT
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for xTASK_SNAPSHOT
impl Debug for xTASK_SNAPSHOT
source§impl Default for xTASK_SNAPSHOT
impl Default for xTASK_SNAPSHOT
impl Copy for xTASK_SNAPSHOT
Auto Trait Implementations§
impl Freeze for xTASK_SNAPSHOT
impl RefUnwindSafe for xTASK_SNAPSHOT
impl !Send for xTASK_SNAPSHOT
impl !Sync for xTASK_SNAPSHOT
impl Unpin for xTASK_SNAPSHOT
impl UnwindSafe for xTASK_SNAPSHOT
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)