Skip to content

Commit

Permalink
update docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugeny committed Jan 10, 2025
1 parent c4dd59d commit 20eedc5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion russh/src/client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1514,8 +1514,10 @@ impl Default for Config {
/// A client handler. Note that messages can be received from the
/// server at any time during a session.
///
/// You must at the very least implement the `check_server_key` fn.
/// The default implementation rejects all keys.
///
/// Note: this is an `async_trait`. Click `[source]` on the right to see actual async function definitions.
#[async_trait]
pub trait Handler: Sized + Send {
type Error: From<crate::Error> + Send + core::fmt::Debug;
Expand Down

0 comments on commit 20eedc5

Please sign in to comment.