pub enum PreparedInputCacheIdentityError {
EmptySemanticContent,
Prepared(PreparedInputError),
}Expand description
Invalid cache identity for a prepared model input.
Variants§
EmptySemanticContent
Semantic tensor content was not identified by the caller or processor.
Prepared(PreparedInputError)
The ordered prepared-input description could not be encoded canonically.
Trait Implementations§
Source§impl Error for PreparedInputCacheIdentityError
impl Error for PreparedInputCacheIdentityError
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()
Auto Trait Implementations§
impl Freeze for PreparedInputCacheIdentityError
impl RefUnwindSafe for PreparedInputCacheIdentityError
impl Send for PreparedInputCacheIdentityError
impl Sync for PreparedInputCacheIdentityError
impl Unpin for PreparedInputCacheIdentityError
impl UnsafeUnpin for PreparedInputCacheIdentityError
impl UnwindSafe for PreparedInputCacheIdentityError
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