Struct websocat::WebsocatConfiguration2[][src]

pub struct WebsocatConfiguration2 {
    pub opts: Options,
    pub s1: SpecifierStack,
    pub s2: SpecifierStack,
}

Second representation of websocat configuration: everything (e.g. socket addresses) should already be parsed and verified A structural form: two chains of specifier nodes. Futures/async is not yet involved at this stage, but everything should be checked and ready to do to start it (apart from OS errors)

This form is designed to be editable by lints and command-line options.

Fields

opts: Optionss1: SpecifierStacks2: SpecifierStack

Implementations

impl WebsocatConfiguration2[src]

pub fn inetd_mode(&self) -> bool[src]

pub fn websocket_used(&self) -> bool[src]

pub fn exec_used(&self) -> bool[src]

pub fn contains_class(&self, x: &'static str) -> bool[src]

pub fn get_exec_parameter(&self) -> Option<&str>[src]

pub fn lint_and_fixup(
    &mut self,
    on_warning: OnWarning
) -> Result<(), Box<dyn Error>>
[src]

impl WebsocatConfiguration2[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Any for T where
    T: Any
[src]

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

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

impl<T> Erased for T

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.

impl<T> Typeable for T where
    T: Any