Struct OsStringValueParser

struct OsStringValueParser { ... }

Implementation for ValueParser::os_string

Useful for composing new TypedValueParsers

Implementations

impl OsStringValueParser

fn new() -> Self

Implementation for ValueParser::os_string

impl Clone for OsStringValueParser

fn clone(self: &Self) -> OsStringValueParser

impl Copy for OsStringValueParser

impl Debug for OsStringValueParser

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Default for OsStringValueParser

fn default() -> Self

impl Freeze for OsStringValueParser

impl RefUnwindSafe for OsStringValueParser

impl Send for OsStringValueParser

impl Sync for OsStringValueParser

impl TypedValueParser for OsStringValueParser

fn parse_ref(self: &Self, cmd: &Command, arg: Option<&Arg>, value: &OsStr) -> Result<<Self as >::Value, Error>
fn parse(self: &Self, _cmd: &Command, _arg: Option<&Arg>, value: OsString) -> Result<<Self as >::Value, Error>

impl Unpin for OsStringValueParser

impl UnsafeUnpin for OsStringValueParser

impl UnwindSafe for OsStringValueParser

impl<I> IntoResettable for OsStringValueParser

fn into_resettable(self: Self) -> Resettable<ValueParser>

impl<T> Any for OsStringValueParser

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for OsStringValueParser

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for OsStringValueParser

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for OsStringValueParser

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for OsStringValueParser

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for OsStringValueParser

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for OsStringValueParser

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for OsStringValueParser

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for OsStringValueParser

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>