pub struct StreamOverTcp { /* private fields */ }Implementations§
Source§impl StreamOverTcp
impl StreamOverTcp
Sourcepub fn builder() -> StreamOverTcpBuilder
pub fn builder() -> StreamOverTcpBuilder
Create an instance of StreamOverTcp using the builder syntax
Trait Implementations§
Source§impl Arbitrary for StreamOverTcp
impl Arbitrary for StreamOverTcp
Source§type Parameters = (<String as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, <u16 as Arbitrary>::Parameters, <Option<u16> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, (<Option<OnOff> as Arbitrary>::Parameters, <Option<usize> as Arbitrary>::Parameters))
type Parameters = (<String as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, <u16 as Arbitrary>::Parameters, <Option<u16> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, (<Option<OnOff> as Arbitrary>::Parameters, <Option<usize> as Arbitrary>::Parameters))
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = Map<(<String as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <String as Arbitrary>::Strategy, <u16 as Arbitrary>::Strategy, <Option<u16> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, (<Option<OnOff> as Arbitrary>::Strategy, <Option<usize> as Arbitrary>::Strategy)), fn((String, Option<OnOff>, String, u16, Option<u16>, Option<OnOff>, Option<OnOff>, Option<OnOff>, Option<OnOff>, (Option<OnOff>, Option<usize>))) -> StreamOverTcp>
type Strategy = Map<(<String as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <String as Arbitrary>::Strategy, <u16 as Arbitrary>::Strategy, <Option<u16> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, (<Option<OnOff> as Arbitrary>::Strategy, <Option<usize> as Arbitrary>::Strategy)), fn((String, Option<OnOff>, String, u16, Option<u16>, Option<OnOff>, Option<OnOff>, Option<OnOff>, Option<OnOff>, (Option<OnOff>, Option<usize>))) -> StreamOverTcp>
The type of
Strategy used to generate values of type Self.Source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
Source§impl Clone for StreamOverTcp
impl Clone for StreamOverTcp
Source§fn clone(&self) -> StreamOverTcp
fn clone(&self) -> StreamOverTcp
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StreamOverTcp
impl Debug for StreamOverTcp
Source§impl FromStr for StreamOverTcp
impl FromStr for StreamOverTcp
Source§impl Hash for StreamOverTcp
impl Hash for StreamOverTcp
Source§impl Ord for StreamOverTcp
impl Ord for StreamOverTcp
Source§fn cmp(&self, other: &StreamOverTcp) -> Ordering
fn cmp(&self, other: &StreamOverTcp) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for StreamOverTcp
impl PartialEq for StreamOverTcp
Source§impl PartialOrd for StreamOverTcp
impl PartialOrd for StreamOverTcp
Source§impl ToCommand for StreamOverTcp
impl ToCommand for StreamOverTcp
Source§fn to_args(&self) -> Vec<String>
fn to_args(&self) -> Vec<String>
Convert to a type suitable to pass to
std::process::Command::args()fn has_args(&self) -> bool
Source§fn command(&self) -> String
fn command(&self) -> String
Convert to a type suitable to pass to
std::process::Command::new()Source§fn to_command(&self) -> Vec<String>
fn to_command(&self) -> Vec<String>
Construct the full command in keep in pieces
Source§fn to_single_command(&self) -> String
fn to_single_command(&self) -> String
Construct the full command as a single
StringSource§fn to_single_arg(&self) -> String
fn to_single_arg(&self) -> String
Construct only the args as a single
Stringimpl Eq for StreamOverTcp
impl StructuralPartialEq for StreamOverTcp
Auto Trait Implementations§
impl Freeze for StreamOverTcp
impl RefUnwindSafe for StreamOverTcp
impl Send for StreamOverTcp
impl Sync for StreamOverTcp
impl Unpin for StreamOverTcp
impl UnsafeUnpin for StreamOverTcp
impl UnwindSafe for StreamOverTcp
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