Enum libunftp::options::FtpsRequired
source · pub enum FtpsRequired {
All,
Accounts,
None,
}
Expand description
The option to ServerBuilder::ftps_required. It allows the user to specify whether clients are required to upgrade a to secure TLS connection i.e. use FTPS.
Variants§
All
All users, including anonymous must use FTPS
Accounts
All non-anonymous users requires FTPS.
None
FTPS not enforced.
Trait Implementations§
source§impl Clone for FtpsRequired
impl Clone for FtpsRequired
source§fn clone(&self) -> FtpsRequired
fn clone(&self) -> FtpsRequired
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FtpsRequired
impl Debug for FtpsRequired
source§impl Display for FtpsRequired
impl Display for FtpsRequired
source§impl From<bool> for FtpsRequired
impl From<bool> for FtpsRequired
source§impl PartialEq for FtpsRequired
impl PartialEq for FtpsRequired
source§fn eq(&self, other: &FtpsRequired) -> bool
fn eq(&self, other: &FtpsRequired) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FtpsRequired
impl Eq for FtpsRequired
impl StructuralPartialEq for FtpsRequired
Auto Trait Implementations§
impl Freeze for FtpsRequired
impl RefUnwindSafe for FtpsRequired
impl Send for FtpsRequired
impl Sync for FtpsRequired
impl Unpin for FtpsRequired
impl UnwindSafe for FtpsRequired
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more