pub struct StripPrefixError(_);
An error returned from Path::strip_prefix
if the prefix was not found.
This struct
is created by the strip_prefix
method on Path
. See its documentation for more.
impl Debug for StripPrefixError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for StripPrefixError
[src]
fn clone(&self) -> StripPrefixError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for StripPrefixError
[src]
fn eq(&self, __arg_0: &StripPrefixError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &StripPrefixError) -> bool
[src]
This method tests for !=
.
impl Eq for StripPrefixError
[src]
impl Display for StripPrefixError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Error for StripPrefixError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/path/struct.StripPrefixError.html