Struct websocat::specifier::ConstructParams [−][src]
pub struct ConstructParams { pub tokio_handle: Handle, pub global_state: Rc<RefCell<ProgramState>>, pub program_options: Rc<Options>, pub left_to_right: L2rUser, }
Fields
tokio_handle: Handle
global_state: Rc<RefCell<ProgramState>>
program_options: Rc<Options>
left_to_right: L2rUser
Methods
impl ConstructParams
[src]
impl ConstructParams
All of those methods are about left_to_right mechanism
pub fn reset_l2r(&mut self)
[src]
pub fn reset_l2r(&mut self)
Reset left_to_right to default value.
pub fn reply(&self) -> Self
[src]
pub fn reply(&self) -> Self
Clones ConstructParams, changing FillIn to ReadFrom in left_to_right field and also disassociating it from the original RefCell.
Panics when called on object with left_to_right set to ReadFrom.
pub fn deep_clone(&self) -> Self
[src]
pub fn deep_clone(&self) -> Self
Trait Implementations
impl Clone for ConstructParams
[src]
impl Clone for ConstructParams
fn clone(&self) -> ConstructParams
[src]
fn clone(&self) -> ConstructParams
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !Send for ConstructParams
impl !Send for ConstructParams
impl !Sync for ConstructParams
impl !Sync for ConstructParams