Trait libunftp::auth::UserDetail [−][src]
UserDetail defines the requirements for implementations that hold Security Subject information for use by the server.
Think information like:
- General information
- Account settings
- Authorization information
At this time, this trait doesn’t contain much, but it will grow over time to allow for per-user authorization and behaviour.
Provided methods
fn account_enabled(&self) -> bool
[src]
Tells if this subject’s account is enabled. This default implementation simply returns true.
Implementors
impl UserDetail for DefaultUser
[src]
impl UserDetail for DefaultUser
[src]