SuffixGenerator

Trait SuffixGenerator 

Source
pub trait SuffixGenerator {
    // Required method
    fn generate_suffix(&self) -> u32;
}
Expand description

Suffix Generator for socket name

When wpa-control attempts to connect it shall bind unix socket with name wpa_crtl_<counter>

Default implementation is implemented on ()

Required Methods§

Source

fn generate_suffix(&self) -> u32

Creates suffix for file name

Implementations on Foreign Types§

Source§

impl SuffixGenerator for ()

Implementors§