pub enum FetchOutcome {
Ready,
Pending,
Failed,
}Expand description
フォント取得の結果。
【2026-07-31】非同期化により「取得中」という状態が生まれた。
これを取得失敗と混同すると、MAX_CONSECUTIVE_FAILURES の
サーキットブレーカーが即座に発動して以降のフォントを全部諦めてしまう
(実測でその回帰を踏んだ)。
Variants§
Trait Implementations§
Source§impl Clone for FetchOutcome
impl Clone for FetchOutcome
Source§fn clone(&self) -> FetchOutcome
fn clone(&self) -> FetchOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FetchOutcome
Source§impl Debug for FetchOutcome
impl Debug for FetchOutcome
impl Eq for FetchOutcome
Source§impl PartialEq for FetchOutcome
impl PartialEq for FetchOutcome
Source§fn eq(&self, other: &FetchOutcome) -> bool
fn eq(&self, other: &FetchOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FetchOutcome
Auto Trait Implementations§
impl Freeze for FetchOutcome
impl RefUnwindSafe for FetchOutcome
impl Send for FetchOutcome
impl Sync for FetchOutcome
impl Unpin for FetchOutcome
impl UnsafeUnpin for FetchOutcome
impl UnwindSafe for FetchOutcome
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.