Struct std::path::StripPrefixError
1.7.0 · source · pub struct StripPrefixError(_);
Expand description
如果找不到前缀,则从 Path::strip_prefix
返回错误。
该 struct
是通过 Path
上的 strip_prefix
方法创建的。
有关更多信息,请参见其文档。
Trait Implementations§
source§impl Clone for StripPrefixError
impl Clone for StripPrefixError
source§fn clone(&self) -> StripPrefixError
fn clone(&self) -> StripPrefixError
返回值的副本。 Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
从
source
执行复制分配。 Read moresource§impl Debug for StripPrefixError
impl Debug for StripPrefixError
source§impl Display for StripPrefixError
impl Display for StripPrefixError
source§impl Error for StripPrefixError
impl Error for StripPrefixError
source§impl PartialEq<StripPrefixError> for StripPrefixError
impl PartialEq<StripPrefixError> for StripPrefixError
impl Eq for StripPrefixError
impl StructuralEq for StripPrefixError
impl StructuralPartialEq for StripPrefixError
Auto Trait Implementations§
impl RefUnwindSafe for StripPrefixError
impl Send for StripPrefixError
impl Sync for StripPrefixError
impl Unpin for StripPrefixError
impl UnwindSafe for StripPrefixError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
从拥有的值中借用。 Read more