pub struct ArgumentArray(/* private fields */);Expand description
An ordered, bounded command or entrypoint argument array.
Implementations§
Source§impl ArgumentArray
impl ArgumentArray
Sourcepub fn new<I, S>(arguments: I) -> PodmanLensResult<Self>
pub fn new<I, S>(arguments: I) -> PodmanLensResult<Self>
Creates a validated nonempty argument array. Empty individual arguments are valid.
§Errors
Returns PLN0034 for an empty array, more than 128 arguments, or arguments containing
controls or exceeding 4096 bytes.
Trait Implementations§
Source§impl Clone for ArgumentArray
impl Clone for ArgumentArray
Source§fn clone(&self) -> ArgumentArray
fn clone(&self) -> ArgumentArray
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ArgumentArray
impl Debug for ArgumentArray
impl Eq for ArgumentArray
Source§impl PartialEq for ArgumentArray
impl PartialEq for ArgumentArray
impl StructuralPartialEq for ArgumentArray
Auto Trait Implementations§
impl Freeze for ArgumentArray
impl RefUnwindSafe for ArgumentArray
impl Send for ArgumentArray
impl Sync for ArgumentArray
impl Unpin for ArgumentArray
impl UnsafeUnpin for ArgumentArray
impl UnwindSafe for ArgumentArray
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