pub struct XhrAsyncResult {
pub id: u64,
pub status: u16,
pub body: String,
pub raw: Vec<u8>,
pub headers: BTreeMap<String, String>,
pub ok: bool,
pub group: u8,
pub arrived_ms: u64,
pub runtime: u64,
}Fields§
§id: u64§status: u16§body: String§raw: Vec<u8>§headers: BTreeMap<String, String>§ok: bool§group: u8要求を出したアプリの組(TODO R2 (c)。そのアプリが止まったら結果を捨てる)。
arrived_ms: u64結果が届いた時刻(ms)。どの実行環境も受け取らないまま長く残った物を捨てる目安(xhr_route。2026-11-18)。
runtime: u64要求を出した JS の実行環境(JsRuntime::runtime_id)。そのタブを閉じた・止めたら捨てる(TODO R2 (d) ③、2026-11-18)。
Auto Trait Implementations§
impl Freeze for XhrAsyncResult
impl RefUnwindSafe for XhrAsyncResult
impl Send for XhrAsyncResult
impl Sync for XhrAsyncResult
impl Unpin for XhrAsyncResult
impl UnsafeUnpin for XhrAsyncResult
impl UnwindSafe for XhrAsyncResult
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