pub trait Complete<O> {
type Out;
type Ctx<'a>;
type Err: Into<Error>;
// Required method
fn complete<'a, T, W>(
&self,
s: &mut T,
ctx: &mut Self::Ctx<'a>,
) -> Result<Self::Out, Self::Err>
where T: Shell<O, W>;
}Required Associated Types§
Required Methods§
fn complete<'a, T, W>(
&self,
s: &mut T,
ctx: &mut Self::Ctx<'a>,
) -> Result<Self::Out, Self::Err>where
T: Shell<O, W>,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.