Trait websocat::Specifier[][src]

pub trait Specifier: Debug {
    fn construct(&self, p: ConstructParams) -> PeerConstructor;
fn is_multiconnect(&self) -> bool;
fn uses_global_state(&self) -> bool;
fn get_type(&self) -> SpecifierType; fn get_info(&self) -> SpecifierInfo { ... }
fn get_info_without_subspecs(&self) -> OneSpecifierInfo { ... } }

A parsed command line argument. For example, ws-listen:tcp-l:127.0.0.1:8080 gets parsed into a WsUpgrade(TcpListen(SocketAddr)).

Required Methods

Apply the specifier for constructing a "socket" or other connecting device.

Provided Methods

Implementations on Foreign Types

impl Specifier for Rc<Specifier>
[src]

Implementors