[][src]Struct varlink_parser::IDL

pub struct IDL<'a> {
    pub description: &'a str,
    pub name: &'a str,
    pub doc: &'a str,
    pub methods: BTreeMap<&'a str, Method<'a>>,
    pub method_keys: Vec<&'a str>,
    pub typedefs: BTreeMap<&'a str, Typedef<'a>>,
    pub typedef_keys: Vec<&'a str>,
    pub errors: BTreeMap<&'a str, VError<'a>>,
    pub error_keys: Vec<&'a str>,
    pub error: HashSet<String>,
}

Fields

description: &'a strname: &'a strdoc: &'a strmethods: BTreeMap<&'a str, Method<'a>>method_keys: Vec<&'a str>typedefs: BTreeMap<&'a str, Typedef<'a>>typedef_keys: Vec<&'a str>errors: BTreeMap<&'a str, VError<'a>>error_keys: Vec<&'a str>error: HashSet<String>

Implementations

impl<'a> IDL<'a>[src]

pub fn from_string(s: &'a str) -> ChainResult<Self, Error>[src]

Trait Implementations

impl<'a> Display for IDL<'a>[src]

impl<'a> Format for IDL<'a>[src]

impl<'a> FormatColored for IDL<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for IDL<'a>

impl<'a> Send for IDL<'a>

impl<'a> Sync for IDL<'a>

impl<'a> Unpin for IDL<'a>

impl<'a> UnwindSafe for IDL<'a>

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> IntoChainError<U> for T where
    U: ChainErrorFrom<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[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.