Enum llama_cpp_sys::ggml_status
source · #[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 copy 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
source§fn eq(&self, other: &ggml_status) -> bool
fn eq(&self, other: &ggml_status) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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