pub struct NoopGgufParser;Expand description
A no-op GGUF parser that returns default/empty metadata.
Useful for testing or when GGUF parsing is not needed.
Trait Implementations§
Source§impl Clone for NoopGgufParser
impl Clone for NoopGgufParser
Source§fn clone(&self) -> NoopGgufParser
fn clone(&self) -> NoopGgufParser
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 NoopGgufParser
impl Debug for NoopGgufParser
Source§impl Default for NoopGgufParser
impl Default for NoopGgufParser
Source§fn default() -> NoopGgufParser
fn default() -> NoopGgufParser
Returns the “default value” for a type. Read more
Source§impl GgufParserPort for NoopGgufParser
impl GgufParserPort for NoopGgufParser
Source§fn parse(&self, _file_path: &Path) -> Result<GgufMetadata, GgufParseError>
fn parse(&self, _file_path: &Path) -> Result<GgufMetadata, GgufParseError>
Parse metadata from a GGUF file. Read more
Source§fn detect_capabilities(&self, _metadata: &GgufMetadata) -> GgufCapabilities
fn detect_capabilities(&self, _metadata: &GgufMetadata) -> GgufCapabilities
Detect capabilities from parsed metadata. Read more
Auto Trait Implementations§
impl Freeze for NoopGgufParser
impl RefUnwindSafe for NoopGgufParser
impl Send for NoopGgufParser
impl Sync for NoopGgufParser
impl Unpin for NoopGgufParser
impl UnwindSafe for NoopGgufParser
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