pub enum ProbeOutcome {
Success,
TargetPanic {
message: String,
location: Option<String>,
},
OtherPanic {
message: String,
location: Option<String>,
},
TypifyError(String),
InvalidRootSchema(String),
}Variants§
Success
typify converted the schema to Rust types without error.
TargetPanic
Panicked with a message/location matching the known typify 0.7.0
merge.rs “not yet implemented” failure mode this tool hunts for.
OtherPanic
Panicked, but not matching that specific signature - still worth
surfacing to a human, just not what bisect is purpose-built to
search for.
TypifyError(String)
typify returned an ordinary Result::Err - no panic, just a schema
typify doesn’t support for some other reason.
InvalidRootSchema(String)
The candidate JSON didn’t even parse as a schemars::schema::RootSchema.
Implementations§
Source§impl ProbeOutcome
impl ProbeOutcome
Trait Implementations§
Source§impl Clone for ProbeOutcome
impl Clone for ProbeOutcome
Source§fn clone(&self) -> ProbeOutcome
fn clone(&self) -> ProbeOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProbeOutcome
impl RefUnwindSafe for ProbeOutcome
impl Send for ProbeOutcome
impl Sync for ProbeOutcome
impl Unpin for ProbeOutcome
impl UnsafeUnpin for ProbeOutcome
impl UnwindSafe for ProbeOutcome
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more