pub struct AssetReloadStatus {
pub configured_backend: AssetReloadBackendKind,
pub active_backend: AssetReloadBackendKind,
pub fallback_reason: Option<AssetReloadFallbackReason>,
pub fallback_message: Option<String>,
}Expand description
Best-effort host-published status for the current automatic asset reload lane.
This is intentionally separate from AssetReloadSupport:
AssetReloadSupportanswers whether the host can automatically publish reload invalidations,AssetReloadStatusanswers which backend is currently active and whether a fallback occurred.
Hosts may leave this unset until the effective backend is known.
Fields§
§configured_backend: AssetReloadBackendKind§active_backend: AssetReloadBackendKind§fallback_reason: Option<AssetReloadFallbackReason>§fallback_message: Option<String>Trait Implementations§
Source§impl Clone for AssetReloadStatus
impl Clone for AssetReloadStatus
Source§fn clone(&self) -> AssetReloadStatus
fn clone(&self) -> AssetReloadStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AssetReloadStatus
impl Debug for AssetReloadStatus
Source§impl PartialEq for AssetReloadStatus
impl PartialEq for AssetReloadStatus
impl Eq for AssetReloadStatus
impl StructuralPartialEq for AssetReloadStatus
Auto Trait Implementations§
impl Freeze for AssetReloadStatus
impl RefUnwindSafe for AssetReloadStatus
impl Send for AssetReloadStatus
impl Sync for AssetReloadStatus
impl Unpin for AssetReloadStatus
impl UnsafeUnpin for AssetReloadStatus
impl UnwindSafe for AssetReloadStatus
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