pub enum TilingError {
InvalidHierarchy {
reason: String,
},
DivisibilityError {
level: &'static str,
dimension: &'static str,
larger: u32,
smaller: u32,
},
CacheOverflow {
level: TcbLevel,
required_bytes: usize,
available_bytes: usize,
},
AlignmentError {
required: u32,
actual: u32,
},
QuantAlignmentError {
format: &'static str,
required_k: u32,
actual_k: u32,
},
}Expand description
Tiling configuration errors
Variants§
InvalidHierarchy
Tile hierarchy is invalid (e.g., micro > midi)
DivisibilityError
Tile dimensions not divisible
CacheOverflow
Tile doesn’t fit in cache
AlignmentError
Alignment violation
QuantAlignmentError
Quantization alignment violated
Trait Implementations§
Source§impl Clone for TilingError
impl Clone for TilingError
Source§fn clone(&self) -> TilingError
fn clone(&self) -> TilingError
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 TilingError
impl Debug for TilingError
Source§impl Display for TilingError
impl Display for TilingError
Source§impl Error for TilingError
impl Error for TilingError
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 TilingError
impl RefUnwindSafe for TilingError
impl Send for TilingError
impl Sync for TilingError
impl Unpin for TilingError
impl UnsafeUnpin for TilingError
impl UnwindSafe for TilingError
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