pub enum FetchVerdict {
Continue,
AbortHard,
AbortSlow,
AbortStalled,
}Expand description
判定の結果。
Variants§
Continue
AbortHard
全体の上限(hard_ms)を過ぎた。
AbortSlow
soft_ms を過ぎて、開始からの平均の速さが足りない(少しずつ届き続ける相手)。
AbortStalled
soft_ms を過ぎて、直近の区間の速さが足りない(途中から少しずつになった相手)。
Trait Implementations§
Source§impl Clone for FetchVerdict
impl Clone for FetchVerdict
impl Copy for FetchVerdict
Source§impl Debug for FetchVerdict
impl Debug for FetchVerdict
impl Eq for FetchVerdict
Source§impl PartialEq for FetchVerdict
impl PartialEq for FetchVerdict
impl StructuralPartialEq for FetchVerdict
Auto Trait Implementations§
impl Freeze for FetchVerdict
impl RefUnwindSafe for FetchVerdict
impl Send for FetchVerdict
impl Sync for FetchVerdict
impl Unpin for FetchVerdict
impl UnsafeUnpin for FetchVerdict
impl UnwindSafe for FetchVerdict
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.