Home
last modified time | relevance | path

Searched refs:AtomicResourceState (Results 1 – 1 of 1) sorted by relevance

/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/resources/
H A Dhost.rs23 state: AtomicResourceState,
72 struct AtomicResourceState { struct
85 impl AtomicResourceState { impl
86 const BORROW: Self = AtomicResourceState::new(ResourceState::Borrow);
87 const NOT_IN_TABLE: Self = AtomicResourceState::new(ResourceState::NotInTable);
89 const fn new(state: ResourceState) -> AtomicResourceState { in new() argument
143 state: AtomicResourceState::NOT_IN_TABLE, in new_own()
152 state: AtomicResourceState::BORROW, in new_borrow()
261 (AtomicResourceState::NOT_IN_TABLE, rep, t) in lift_from_index()
273 (AtomicResourceState::BORROW, rep, t) in lift_from_index()