pub struct Fallback {
pub from: ParkKind,
pub needs: Capability,
pub to: ParkKind,
}Expand description
One link of the declared fallback chain.
Fields§
§from: ParkKindThe park this link applies to (its fields kept only for matching).
needs: CapabilityWhat the host must offer for from to run.
to: ParkKindThe park the plan resolves to without it (the plan’s predict is kept unchanged).
Trait Implementations§
impl Copy for Fallback
impl Eq for Fallback
impl StructuralPartialEq for Fallback
Auto Trait Implementations§
impl Forget for Fallback
impl Freeze for Fallback
impl Move for Fallback
impl RefUnwindSafe for Fallback
impl Send for Fallback
impl Sync for Fallback
impl Unpin for Fallback
impl UnsafeUnpin for Fallback
impl UnwindSafe for Fallback
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