pub struct Outcome<'a> { /* private fields */ }Expand description
What the search found, and what it did not get to.
Implementations§
Source§impl<'a> Outcome<'a>
impl<'a> Outcome<'a>
Sourcepub fn paths(&self) -> &[Path<'a>]
pub fn paths(&self) -> &[Path<'a>]
The paths, shortest first, and among paths of one length in the order the caller’s inputs put them in.
Sourcepub fn truncated(&self) -> Option<Truncation>
pub fn truncated(&self) -> Option<Truncation>
Which bound stopped the search, where one did. None says the search
finished: every path there is, is here.
Sourcepub fn is_truncated(&self) -> bool
pub fn is_truncated(&self) -> bool
Whether the search was stopped rather than finished, which a report must say rather than claim it enumerated everything.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !Freeze for Outcome<'a>
impl<'a> !RefUnwindSafe for Outcome<'a>
impl<'a> !Send for Outcome<'a>
impl<'a> !Sync for Outcome<'a>
impl<'a> !UnwindSafe for Outcome<'a>
impl<'a> Unpin for Outcome<'a>
impl<'a> UnsafeUnpin for Outcome<'a>
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