Struct relative_path::StripPrefixError
source · pub struct StripPrefixError(_);
Expand description
An error returned from strip_prefix if the prefix was not found.
Trait Implementations§
source§impl Clone for StripPrefixError
impl Clone for StripPrefixError
source§fn clone(&self) -> StripPrefixError
fn clone(&self) -> StripPrefixError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StripPrefixError
impl Debug for StripPrefixError
source§impl PartialEq<StripPrefixError> for StripPrefixError
impl PartialEq<StripPrefixError> for StripPrefixError
source§fn eq(&self, other: &StripPrefixError) -> bool
fn eq(&self, other: &StripPrefixError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.