W3cubDocs

/Rust

Struct std::path::StripPrefixError

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.

Trait Implementations

impl Debug for StripPrefixError [src]

[src]

Formats the value using the given formatter. Read more

impl Clone for StripPrefixError [src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for StripPrefixError [src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for StripPrefixError [src]

impl Display for StripPrefixError [src]

[src]

Formats the value using the given formatter. Read more

impl Error for StripPrefixError [src]

[src]

A short description of the error. Read more

1.0.0
[src]

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