Struct grep_cli::ParseSizeError [−][src]
pub struct ParseSizeError { /* fields omitted */ }An error that occurs when parsing a human readable size description.
This error provides a end user friendly message describing why the description coudln't be parsed and what the expected format is.
Trait Implementations
impl Clone for ParseSizeError[src]
impl Clone for ParseSizeErrorfn clone(&self) -> ParseSizeError[src]
fn clone(&self) -> ParseSizeErrorReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for ParseSizeError[src]
impl Debug for ParseSizeErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for ParseSizeError[src]
impl Eq for ParseSizeErrorimpl PartialEq for ParseSizeError[src]
impl PartialEq for ParseSizeErrorfn eq(&self, other: &ParseSizeError) -> bool[src]
fn eq(&self, other: &ParseSizeError) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &ParseSizeError) -> bool[src]
fn ne(&self, other: &ParseSizeError) -> boolThis method tests for !=.
impl Error for ParseSizeError[src]
impl Error for ParseSizeErrorfn description(&self) -> &str[src]
fn description(&self) -> &strThis method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>1.0.0[src]
fn cause(&self) -> Option<&Error>1.0.0
[src]The lower-level cause of this error, if any. Read more
impl Display for ParseSizeError[src]
impl Display for ParseSizeErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<ParseSizeError> for Error[src]
impl From<ParseSizeError> for Errorfn from(size_err: ParseSizeError) -> Error[src]
fn from(size_err: ParseSizeError) -> ErrorPerforms the conversion.
Auto Trait Implementations
impl Send for ParseSizeError
impl Send for ParseSizeErrorimpl Sync for ParseSizeError
impl Sync for ParseSizeError