#[repr(C)]pub struct ray_progress_t {
pub op_name: *const c_char,
pub phase: *const c_char,
pub rows_done: u64,
pub rows_total: u64,
pub elapsed_sec: f64,
pub mem_used: i64,
pub mem_budget: i64,
pub final_: bool,
}Expand description
Snapshot delivered to a progress callback. Mirrors ray_progress_t in
include/rayforce.h. Worker threads never touch this struct; the
callback fires on the main thread between ops or at pivot phase
boundaries, so reading op_name / phase raw pointers is safe for
the lifetime of the callback invocation.
Fields§
§op_name: *const c_char§phase: *const c_char§rows_done: u64§rows_total: u64§elapsed_sec: f64§mem_used: i64§mem_budget: i64§final_: boolAuto Trait Implementations§
impl Freeze for ray_progress_t
impl RefUnwindSafe for ray_progress_t
impl !Send for ray_progress_t
impl !Sync for ray_progress_t
impl Unpin for ray_progress_t
impl UnsafeUnpin for ray_progress_t
impl UnwindSafe for ray_progress_t
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