pub struct LoadResult {
pub load_time: Duration,
pub memory_used: usize,
pub checksum_verified: bool,
pub signature_verified: bool,
pub pages_loaded: usize,
pub decompression_ratio: f64,
}Expand description
Result of a model load operation
Fields§
§load_time: DurationActual loading time
memory_used: usizeMemory used
checksum_verified: boolWhether checksum was verified
signature_verified: boolWhether signature was verified
pages_loaded: usizeNumber of pages loaded (for paged modes)
decompression_ratio: f64Decompression ratio achieved
Implementations§
Source§impl LoadResult
impl LoadResult
Trait Implementations§
Source§impl Clone for LoadResult
impl Clone for LoadResult
Source§fn clone(&self) -> LoadResult
fn clone(&self) -> LoadResult
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for LoadResult
impl RefUnwindSafe for LoadResult
impl Send for LoadResult
impl Sync for LoadResult
impl Unpin for LoadResult
impl UnwindSafe for LoadResult
Blanket Implementations§
§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: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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