#[non_exhaustive]#[repr(u32)]pub enum ggml_log_level {
GGML_LOG_LEVEL_NONE = 0,
GGML_LOG_LEVEL_DEBUG = 1,
GGML_LOG_LEVEL_INFO = 2,
GGML_LOG_LEVEL_WARN = 3,
GGML_LOG_LEVEL_ERROR = 4,
GGML_LOG_LEVEL_CONT = 5,
}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_LOG_LEVEL_NONE = 0
GGML_LOG_LEVEL_DEBUG = 1
GGML_LOG_LEVEL_INFO = 2
GGML_LOG_LEVEL_WARN = 3
GGML_LOG_LEVEL_ERROR = 4
GGML_LOG_LEVEL_CONT = 5
Trait Implementations§
Source§impl Clone for ggml_log_level
impl Clone for ggml_log_level
Source§fn clone(&self) -> ggml_log_level
fn clone(&self) -> ggml_log_level
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ggml_log_level
Source§impl Debug for ggml_log_level
impl Debug for ggml_log_level
impl Eq for ggml_log_level
Source§impl Hash for ggml_log_level
impl Hash for ggml_log_level
Source§impl PartialEq for ggml_log_level
impl PartialEq for ggml_log_level
Source§fn eq(&self, other: &ggml_log_level) -> bool
fn eq(&self, other: &ggml_log_level) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ggml_log_level
Auto Trait Implementations§
impl Freeze for ggml_log_level
impl RefUnwindSafe for ggml_log_level
impl Send for ggml_log_level
impl Sync for ggml_log_level
impl Unpin for ggml_log_level
impl UnsafeUnpin for ggml_log_level
impl UnwindSafe for ggml_log_level
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