pub enum PortRiskLevel {
Critical,
High,
Medium,
Low,
Unknown,
}Expand description
Port risk level for security assessment
Variants§
Critical
Critical risk (telnet, FTP, unencrypted protocols)
High
High risk (database ports, RDP)
Medium
Medium risk (HTTP, SMTP)
Low
Low risk (HTTPS, SSH with proper config)
Unknown
Unknown risk
Trait Implementations§
Source§impl Clone for PortRiskLevel
impl Clone for PortRiskLevel
Source§fn clone(&self) -> PortRiskLevel
fn clone(&self) -> PortRiskLevel
Returns a duplicate 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 PortRiskLevel
impl Debug for PortRiskLevel
Source§impl<'de> Deserialize<'de> for PortRiskLevel
impl<'de> Deserialize<'de> for PortRiskLevel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PortRiskLevel
impl PartialEq for PortRiskLevel
Source§impl Serialize for PortRiskLevel
impl Serialize for PortRiskLevel
impl Copy for PortRiskLevel
impl Eq for PortRiskLevel
impl StructuralPartialEq for PortRiskLevel
Auto Trait Implementations§
impl Freeze for PortRiskLevel
impl RefUnwindSafe for PortRiskLevel
impl Send for PortRiskLevel
impl Sync for PortRiskLevel
impl Unpin for PortRiskLevel
impl UnwindSafe for PortRiskLevel
Blanket Implementations§
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