Trait thrussh::FromFinished
source · pub trait FromFinished<T>: Future<Output = Result<T, Error>> {
// Required method
fn finished(t: T) -> Self;
}
Expand description
Since handlers are large, their associated future types must implement this trait to provide reasonable default implementations (basically, rejecting all requests).