Trait websocat::specifier::Specifier [−][src]
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
fn construct(&self, p: ConstructParams) -> PeerConstructor
[src]
Apply the specifier for constructing a “socket” or other connecting device.
fn is_multiconnect(&self) -> bool
[src]
fn uses_global_state(&self) -> bool
[src]
Implementations
impl dyn Specifier
[src]
pub fn from_stack(
st: &SpecifierStack
) -> Result<Rc<dyn Specifier>, Box<dyn Error>>
[src]
st: &SpecifierStack
) -> Result<Rc<dyn Specifier>, Box<dyn Error>>