pub struct TileBatchError<E> {
pub index: usize,
pub source: E,
}Expand description
Error returned by tile batches, annotated with the failing input index.
Fields§
§index: usizeIndex of the first failing tile in input order.
source: EDecode error reported for that tile.
Trait Implementations§
Source§impl<E: Debug> Debug for TileBatchError<E>
impl<E: Debug> Debug for TileBatchError<E>
Source§impl<E: Display> Display for TileBatchError<E>
impl<E: Display> Display for TileBatchError<E>
Source§impl<E: Error + 'static> Error for TileBatchError<E>
impl<E: Error + 'static> Error for TileBatchError<E>
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<E> Freeze for TileBatchError<E>where
E: Freeze,
impl<E> RefUnwindSafe for TileBatchError<E>where
E: RefUnwindSafe,
impl<E> Send for TileBatchError<E>where
E: Send,
impl<E> Sync for TileBatchError<E>where
E: Sync,
impl<E> Unpin for TileBatchError<E>where
E: Unpin,
impl<E> UnsafeUnpin for TileBatchError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for TileBatchError<E>where
E: UnwindSafe,
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