#[repr(u32)]pub enum llama_rs_mtmd_encode_chunk_status {
LLAMA_RS_MTMD_ENCODE_CHUNK_OK = 0,
LLAMA_RS_MTMD_ENCODE_CHUNK_ERROR_STRING_ALLOCATION_FAILED = 1,
LLAMA_RS_MTMD_ENCODE_CHUNK_LLAMA_CPP_OUT_OF_MEMORY = 2,
LLAMA_RS_MTMD_ENCODE_CHUNK_LLAMA_CPP_THREW_CXX_EXCEPTION = 3,
}Variants§
LLAMA_RS_MTMD_ENCODE_CHUNK_OK = 0
LLAMA_RS_MTMD_ENCODE_CHUNK_ERROR_STRING_ALLOCATION_FAILED = 1
LLAMA_RS_MTMD_ENCODE_CHUNK_LLAMA_CPP_OUT_OF_MEMORY = 2
LLAMA_RS_MTMD_ENCODE_CHUNK_LLAMA_CPP_THREW_CXX_EXCEPTION = 3
Trait Implementations§
impl Copy for llama_rs_mtmd_encode_chunk_status
impl Eq for llama_rs_mtmd_encode_chunk_status
impl StructuralPartialEq for llama_rs_mtmd_encode_chunk_status
Auto Trait Implementations§
impl Forget for llama_rs_mtmd_encode_chunk_status
impl Freeze for llama_rs_mtmd_encode_chunk_status
impl Move for llama_rs_mtmd_encode_chunk_status
impl RefUnwindSafe for llama_rs_mtmd_encode_chunk_status
impl Send for llama_rs_mtmd_encode_chunk_status
impl Sync for llama_rs_mtmd_encode_chunk_status
impl Unpin for llama_rs_mtmd_encode_chunk_status
impl UnsafeUnpin for llama_rs_mtmd_encode_chunk_status
impl UnwindSafe for llama_rs_mtmd_encode_chunk_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