Trait libunftp::auth::UserDetail [−][src]
Expand description
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 may grow over time to allow for per-user authorization and behaviour.
Provided methods
fn account_enabled(&self) -> bool
fn account_enabled(&self) -> bool
Tells if this subject’s account is enabled. This default implementation simply returns true.