pub trait SExpect: Sized {
type Output;
// Required method
fn s_expect<'tcx, S: BaseState<'tcx>>(
self,
s: &S,
message: &str,
) -> Self::Output;
// Provided method
fn s_unwrap<'tcx, S: BaseState<'tcx>>(self, s: &S) -> Self::Output { ... }
}
Required Associated Types§
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.