gftp/command/protection_level

Types

Protection level; argument for Prot command

pub type ProtectionLevel {
  Clear
  Private
}

Constructors

  • Clear
  • Private

Values

pub fn to_string(prot: ProtectionLevel) -> String

Convert a ProtectionLevel to its string representation for the PROT command.

Search Document