pub enum AcgError {
InvalidIntent(String),
Serialization(Error),
Internal(String),
PluginAlreadyRegistered(String),
PluginNotFound(String),
TranslationFailed(String),
IrConstructionError(String),
}Expand description
The error type for all Adaptive Cache Governor (ACG) operations.
Variants§
InvalidIntent(String)
An intent validation failed.
Serialization(Error)
A serialization or deserialization error.
Internal(String)
An internal error.
PluginAlreadyRegistered(String)
A plugin with this ID is already registered.
PluginNotFound(String)
No plugin found with the given ID.
TranslationFailed(String)
Plugin translation failed.
IrConstructionError(String)
IR construction failed due to invalid input.
Trait Implementations§
Source§impl Error for AcgError
impl Error for AcgError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for AcgError
impl !RefUnwindSafe for AcgError
impl Send for AcgError
impl Sync for AcgError
impl Unpin for AcgError
impl UnsafeUnpin for AcgError
impl !UnwindSafe for AcgError
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