pub struct SimulationOutcome {
pub steps: Vec<ResolutionStep>,
pub final_addresses: Vec<IpAddr>,
}Expand description
Result of walking the nsswitch chain via simulate.
Fields§
§steps: Vec<ResolutionStep>Every source tried, in order, with its result and whether it halted the chain. Sources after a halt are never tried and never appear here — that’s the whole point of surfacing this list.
final_addresses: Vec<IpAddr>The addresses from the step that halted the chain with a
Found result, or empty if nothing was found.
Implementations§
Auto Trait Implementations§
impl Freeze for SimulationOutcome
impl RefUnwindSafe for SimulationOutcome
impl Send for SimulationOutcome
impl Sync for SimulationOutcome
impl Unpin for SimulationOutcome
impl UnsafeUnpin for SimulationOutcome
impl UnwindSafe for SimulationOutcome
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