pub enum CacheWriteErr {
GlyphTooLarge,
NoRoomForWholeQueue,
}Expand description
Returned from Cache::cache_queued.
Variants§
GlyphTooLarge
At least one of the queued glyphs is too big to fit into the cache, even if all other glyphs are removed.
NoRoomForWholeQueue
Not all of the requested glyphs can fit into the cache, even if the cache is completely cleared before the attempt.
Trait Implementations§
Source§impl Clone for CacheWriteErr
impl Clone for CacheWriteErr
Source§fn clone(&self) -> CacheWriteErr
fn clone(&self) -> CacheWriteErr
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 CacheWriteErr
impl Debug for CacheWriteErr
Source§impl Display for CacheWriteErr
impl Display for CacheWriteErr
Source§impl Error for CacheWriteErr
impl Error for CacheWriteErr
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 Hash for CacheWriteErr
impl Hash for CacheWriteErr
Source§impl Ord for CacheWriteErr
impl Ord for CacheWriteErr
Source§fn cmp(&self, other: &CacheWriteErr) -> Ordering
fn cmp(&self, other: &CacheWriteErr) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CacheWriteErr
impl PartialEq for CacheWriteErr
Source§impl PartialOrd for CacheWriteErr
impl PartialOrd for CacheWriteErr
impl Copy for CacheWriteErr
impl Eq for CacheWriteErr
impl StructuralPartialEq for CacheWriteErr
Auto Trait Implementations§
impl Freeze for CacheWriteErr
impl RefUnwindSafe for CacheWriteErr
impl Send for CacheWriteErr
impl Sync for CacheWriteErr
impl Unpin for CacheWriteErr
impl UnwindSafe for CacheWriteErr
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