Trait reproto_core::OptionEntry [] [src]

pub trait OptionEntry {
    fn name(&self) -> &str;
fn as_string(&self) -> Result<String>;
fn as_number(&self) -> Result<RpNumber>;
fn as_identifier(&self) -> Result<String>; }

Required Methods

Get the name of the option.

Get the value as a string.

Get the value as an 32-bit unsigned integer.

Get the value as an identifier.

Implementors