pub enum RangeStreamState {
Idle,
Fetching {
start: u64,
end: u64,
},
Completed,
Error,
}Expand description
HTTP Range 分割ストリーミングのステートマシン状態。
Variants§
Idle
次のチャンク要求準備完了(アイドル状態)
Fetching
チャンク要求中 (start, end: inclusive)
Completed
全データ読み取り完了
Error
範囲不整合またはパースエラー
Trait Implementations§
Source§impl Clone for RangeStreamState
impl Clone for RangeStreamState
impl Copy for RangeStreamState
Source§impl Debug for RangeStreamState
impl Debug for RangeStreamState
impl Eq for RangeStreamState
Source§impl PartialEq for RangeStreamState
impl PartialEq for RangeStreamState
impl StructuralPartialEq for RangeStreamState
Auto Trait Implementations§
impl Freeze for RangeStreamState
impl RefUnwindSafe for RangeStreamState
impl Send for RangeStreamState
impl Sync for RangeStreamState
impl Unpin for RangeStreamState
impl UnsafeUnpin for RangeStreamState
impl UnwindSafe for RangeStreamState
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.