Struct hyper_simple_server::CliArguments
source · [−]pub struct CliArguments(_);
Implementations
sourceimpl CliArguments
impl CliArguments
pub fn unwrap_or_args(_arguments: Option<CliArguments>) -> CliArguments
pub fn from_args() -> CliArguments
pub fn from_vec_os(_arguments: Vec<OsString>) -> CliArguments
pub fn from_vec_str(_arguments: Vec<String>) -> CliArguments
pub fn into_vec_os(self) -> Vec<OsString>
pub fn into_vec_str(self) -> Vec<String>
pub fn is_empty(&self) -> bool
pub fn first_os(&self) -> Option<&OsStr>
pub fn first_str(&self) -> Option<&str>
pub fn remove_first_os(&mut self) -> Option<OsString>
pub fn remove_first_str(&mut self) -> Option<String>
pub fn without_first(self) -> Self
pub fn into_tuple_n_os(self, _length: usize) -> Result<Vec<OsString>, Self>
pub fn into_tuple_n_str(self, _length: usize) -> Result<Vec<String>, Self>
pub fn into_tuple_1_os(self) -> Result<(OsString,), Self>
pub fn into_tuple_1_str(self) -> Result<(String,), Self>
pub fn into_tuple_2_os(self) -> Result<(OsString, OsString), Self>
pub fn into_tuple_2_str(self) -> Result<(String, String), Self>
pub fn into_tuple_3_os(self) -> Result<(OsString, OsString, OsString), Self>
pub fn into_tuple_3_str(self) -> Result<(String, String, String), Self>
Auto Trait Implementations
impl RefUnwindSafe for CliArguments
impl Send for CliArguments
impl Sync for CliArguments
impl Unpin for CliArguments
impl UnwindSafe for CliArguments
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more