Struct std::path::StripPrefixError 1.7.0
[−]
[src]
pub struct StripPrefixError(_);
An error returned from the Path::strip_prefix
method indicating that the
prefix was not found in self
.
Trait Implementations
impl Display for StripPrefixError
[src]
impl Error for StripPrefixError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0
The lower-level cause of this error, if any.
Derived Implementations
impl Eq for StripPrefixError
[src]
impl PartialEq for StripPrefixError
[src]
fn eq(&self, __arg_0: &StripPrefixError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &StripPrefixError) -> bool
This method tests for !=
.
impl Clone for StripPrefixError
[src]
fn clone(&self) -> StripPrefixError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more