[][src]Struct wireless_regdb::Binary

pub struct Binary { /* fields omitted */ }

Binary representation of the regulatory Database

Implementations

impl Binary[src]

pub fn from_regdb(regdb: &RegDB) -> Result<Self>[src]

Create a Binary representation of the Regulatory DB

Arguments

  • regdb - reference of a regulatory database

pub fn write_file<P: AsRef<Path>>(&self, path: P) -> Result<()>[src]

Write database to file

Arguments

  • path - path of the file

pub fn write<T: Write>(&self, writer: T) -> Result<()>[src]

Write database to Writer

Arguments

  • writer - std::io::Writer to write database to

Trait Implementations

impl Debug for Binary[src]

Auto Trait Implementations

impl RefUnwindSafe for Binary

impl Send for Binary

impl Sync for Binary

impl Unpin for Binary

impl UnwindSafe for Binary

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.