pub enum LoadState {
NotLoaded,
Loading,
Loaded,
}Expand description
Track loading state to prevent race conditions in lazy loading
Variants§
Trait Implementations§
impl Eq for LoadState
impl StructuralPartialEq for LoadState
Auto Trait Implementations§
impl Freeze for LoadState
impl RefUnwindSafe for LoadState
impl Send for LoadState
impl Sync for LoadState
impl Unpin for LoadState
impl UnsafeUnpin for LoadState
impl UnwindSafe for LoadState
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