#[non_exhaustive]#[repr(i32)]pub enum ggml_status {
GGML_STATUS_ALLOC_FAILED = -2,
GGML_STATUS_FAILED = -1,
GGML_STATUS_SUCCESS = 0,
GGML_STATUS_ABORTED = 1,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
GGML_STATUS_ALLOC_FAILED = -2
GGML_STATUS_FAILED = -1
GGML_STATUS_SUCCESS = 0
GGML_STATUS_ABORTED = 1
Trait Implementations§
Source§impl Clone for ggml_status
impl Clone for ggml_status
Source§fn clone(&self) -> ggml_status
fn clone(&self) -> ggml_status
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ggml_status
impl Debug for ggml_status
Source§impl Hash for ggml_status
impl Hash for ggml_status
Source§impl PartialEq for ggml_status
impl PartialEq for ggml_status
impl Copy for ggml_status
impl Eq for ggml_status
impl StructuralPartialEq for ggml_status
Auto Trait Implementations§
impl Freeze for ggml_status
impl RefUnwindSafe for ggml_status
impl Send for ggml_status
impl Sync for ggml_status
impl Unpin for ggml_status
impl UnwindSafe for ggml_status
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