pub struct Iscsi { /* private fields */ }Expand description
Configure iSCSI session parameters.
Implementations§
Trait Implementations§
Source§impl Arbitrary for Iscsi
impl Arbitrary for Iscsi
Source§type Parameters = (<Option<String> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<usize> as Arbitrary>::Parameters)
type Parameters = (<Option<String> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<String> 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<(<Option<String> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<usize> as Arbitrary>::Strategy), fn((Option<String>, Option<String>, Option<String>, Option<String>, Option<String>, Option<String>, Option<usize>)) -> Iscsi>
type Strategy = Map<(<Option<String> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<usize> as Arbitrary>::Strategy), fn((Option<String>, Option<String>, Option<String>, Option<String>, Option<String>, Option<String>, Option<usize>)) -> Iscsi>
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 Ord for Iscsi
impl Ord for Iscsi
Source§impl PartialOrd for Iscsi
impl PartialOrd for Iscsi
Source§impl ToCommand for Iscsi
impl ToCommand for Iscsi
Source§fn command(&self) -> String
fn command(&self) -> String
Convert to a type suitable to pass to
std::process::Command::new()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 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 Iscsi
impl StructuralPartialEq for Iscsi
Auto Trait Implementations§
impl Freeze for Iscsi
impl RefUnwindSafe for Iscsi
impl Send for Iscsi
impl Sync for Iscsi
impl Unpin for Iscsi
impl UnsafeUnpin for Iscsi
impl UnwindSafe for Iscsi
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