pub enum ModelParamsError {
NoAvailableSlot,
SlotNotEmpty,
InvalidCharacterInKey {
byte: u8,
reason: String,
},
}Expand description
Errors that can occur when modifying model parameters.
Variants§
NoAvailableSlot
The internal override vector has no available slot.
SlotNotEmpty
The first override slot is not empty.
InvalidCharacterInKey
A character in the key is not a valid C char.
Trait Implementations§
Source§impl Debug for ModelParamsError
impl Debug for ModelParamsError
Source§impl Display for ModelParamsError
impl Display for ModelParamsError
Source§impl Error for ModelParamsError
impl Error for ModelParamsError
1.30.0 · 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()
Source§impl PartialEq for ModelParamsError
impl PartialEq for ModelParamsError
impl Eq for ModelParamsError
impl StructuralPartialEq for ModelParamsError
Auto Trait Implementations§
impl Freeze for ModelParamsError
impl RefUnwindSafe for ModelParamsError
impl Send for ModelParamsError
impl Sync for ModelParamsError
impl Unpin for ModelParamsError
impl UnsafeUnpin for ModelParamsError
impl UnwindSafe for ModelParamsError
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