pub enum AttentionAvailabilityError {
CubeCountTooBig(CubeCount),
CubeDimTooBig(CubeDim),
}Expand description
A specific feature required for attention is not available in the current runtime or hardware.
Variants§
CubeCountTooBig(CubeCount)
The requested cube count exceeds what the runtime or hardware supports.
CubeDimTooBig(CubeDim)
The requested cube dimensions are too large for the current runtime or hardware.
Trait Implementations§
Source§impl Debug for AttentionAvailabilityError
impl Debug for AttentionAvailabilityError
Source§impl From<AttentionAvailabilityError> for AttentionSetupError
impl From<AttentionAvailabilityError> for AttentionSetupError
Source§fn from(value: AttentionAvailabilityError) -> Self
fn from(value: AttentionAvailabilityError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AttentionAvailabilityError
impl RefUnwindSafe for AttentionAvailabilityError
impl Send for AttentionAvailabilityError
impl Sync for AttentionAvailabilityError
impl Unpin for AttentionAvailabilityError
impl UnwindSafe for AttentionAvailabilityError
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