pub struct FallbackRecord {
pub reason: FallbackReason,
pub selected_backend: Backend,
pub detail: String,
}Expand description
Recorded CPU (or reduced-kernel) selection with a stable reason.
Fields§
§reason: FallbackReason§selected_backend: Backend§detail: StringPath-free, secret-free diagnostic suitable for tests and telemetry.
Implementations§
Source§impl FallbackRecord
impl FallbackRecord
Sourcepub fn cpu(reason: FallbackReason, detail: impl Into<String>) -> Self
pub fn cpu(reason: FallbackReason, detail: impl Into<String>) -> Self
CPU fallback with a sanitized detail string.
Trait Implementations§
Source§impl Clone for FallbackRecord
impl Clone for FallbackRecord
Source§impl Debug for FallbackRecord
impl Debug for FallbackRecord
impl Eq for FallbackRecord
Source§impl PartialEq for FallbackRecord
impl PartialEq for FallbackRecord
impl StructuralPartialEq for FallbackRecord
Auto Trait Implementations§
impl Freeze for FallbackRecord
impl RefUnwindSafe for FallbackRecord
impl Send for FallbackRecord
impl Sync for FallbackRecord
impl Unpin for FallbackRecord
impl UnsafeUnpin for FallbackRecord
impl UnwindSafe for FallbackRecord
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