Struct websocat::WebsocatConfiguration2 [−][src]
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: Options
s1: SpecifierStack
s2: 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]
&mut self,
on_warning: OnWarning
) -> Result<(), Box<dyn Error>>
impl WebsocatConfiguration2
[src]
Auto Trait Implementations
impl !RefUnwindSafe for WebsocatConfiguration2
impl !Send for WebsocatConfiguration2
impl !Sync for WebsocatConfiguration2
impl Unpin for WebsocatConfiguration2
impl !UnwindSafe for WebsocatConfiguration2
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
[src]
T: Any,
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> Erased for T
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,