pub struct PortPatternAnalysis {
pub pattern: PortAllocationPattern,
pub increment: Option<i32>,
pub base_port: u16,
}Expand description
Analysis of port allocation patterns for symmetric NAT prediction
Fields§
§pattern: PortAllocationPatternThe detected pattern
increment: Option<i32>The increment between consecutive allocations
base_port: u16Base port for calculations
Trait Implementations§
Source§impl Clone for PortPatternAnalysis
impl Clone for PortPatternAnalysis
Source§fn clone(&self) -> PortPatternAnalysis
fn clone(&self) -> PortPatternAnalysis
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 moreAuto Trait Implementations§
impl Freeze for PortPatternAnalysis
impl RefUnwindSafe for PortPatternAnalysis
impl Send for PortPatternAnalysis
impl Sync for PortPatternAnalysis
impl Unpin for PortPatternAnalysis
impl UnwindSafe for PortPatternAnalysis
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