[−][src]Trait libunftp::auth::Authenticator
Async authenticator interface (error reporting not supported yet)
Required methods
fn authenticate(
&self,
username: &str,
password: &str
) -> Box<dyn Future<Item = U, Error = ()> + Send>
&self,
username: &str,
password: &str
) -> Box<dyn Future<Item = U, Error = ()> + Send>
Authenticate the given user with the given password.
Implementors
impl Authenticator<AnonymousUser> for AnonymousAuthenticator
[src]
fn authenticate(
&self,
_username: &str,
_password: &str
) -> Box<dyn Future<Item = AnonymousUser, Error = ()> + Send>
[src]
&self,
_username: &str,
_password: &str
) -> Box<dyn Future<Item = AnonymousUser, Error = ()> + Send>