Struct websocat::net_peer::TcpConnectClass
source · pub struct TcpConnectClass;
Trait Implementations§
source§impl Debug for TcpConnectClass
impl Debug for TcpConnectClass
source§impl Default for TcpConnectClass
impl Default for TcpConnectClass
source§fn default() -> TcpConnectClass
fn default() -> TcpConnectClass
Returns the “default value” for a type. Read more
source§impl SpecifierClass for TcpConnectClass
impl SpecifierClass for TcpConnectClass
source§fn get_prefixes(&self) -> Vec<&'static str>
fn get_prefixes(&self) -> Vec<&'static str>
Names to match command line parameters against, with a
:
colon if neededsource§fn message_boundary_status(&self) -> ClassMessageBoundaryStatus
fn message_boundary_status(&self) -> ClassMessageBoundaryStatus
True if it is not expected to preserve message boundaries on reads
fn multiconnect_status(&self) -> ClassMulticonnectStatus
source§fn is_overlay(&self) -> bool
fn is_overlay(&self) -> bool
Returns if this specifier is an overlay
source§fn construct(&self, just_arg: &str) -> Result<Rc<dyn Specifier>, Box<dyn Error>>
fn construct(&self, just_arg: &str) -> Result<Rc<dyn Specifier>, Box<dyn Error>>
Given the command line text, construct the specifier
arg is what comes after the colon (e.g.
//echo.websocket.org
in ws://echo.websocket.org
)source§fn construct_overlay(
&self,
_inner: Rc<dyn Specifier>
) -> Result<Rc<dyn Specifier>, Box<dyn Error>>
fn construct_overlay( &self, _inner: Rc<dyn Specifier> ) -> Result<Rc<dyn Specifier>, Box<dyn Error>>
Given the inner specifier, construct this specifier.
source§fn alias_info(&self) -> Option<&'static str>
fn alias_info(&self) -> Option<&'static str>
If it is Some then is_overlay, construct and most other things are ignored and prefix get replaced…
Auto Trait Implementations§
impl Freeze for TcpConnectClass
impl RefUnwindSafe for TcpConnectClass
impl Send for TcpConnectClass
impl Sync for TcpConnectClass
impl Unpin for TcpConnectClass
impl UnwindSafe for TcpConnectClass
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more