[−][src]Struct wireless_regdb::RegDB
The regulatory database with wmmrules and countries
Fields
wmm_rules: HashMap<String, WmmRule>
Regulatory rules for regions.
ETSI for example
countries: HashMap<String, Country>
Contries in the database. The key usese the 2 digit alpha representation
Implementations
impl RegDB
[src]
pub fn from_lexer(lexer: Vec<TokType>) -> Result<Self>
[src]
Create a regulatory database from a TokenStream(Vec<lexer::TokType>
)
Arguments
lexer
- Vector of tokens representing the database txt format
Trait Implementations
impl Debug for RegDB
[src]
impl Default for RegDB
[src]
impl Eq for RegDB
[src]
impl PartialEq<RegDB> for RegDB
[src]
impl StructuralEq for RegDB
[src]
impl StructuralPartialEq for RegDB
[src]
Auto Trait Implementations
impl RefUnwindSafe for RegDB
impl Send for RegDB
impl Sync for RegDB
impl Unpin for RegDB
impl UnwindSafe for RegDB
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,