[−][src]Trait canonicalize::Canonicalize
Canonicalizes values
Every type implementing this trait can be canonicalited.
Many core
and std
types implement this trait.
It is garanteed that it will never be cloned.
Provided methods
fn canon(self) -> Self
Performs the canonicalizing
Implementations on Foreign Types
impl Canonicalize for String
[src]
impl Canonicalize for FromBytesWithNulError
[src]
impl Canonicalize for IntoStringError
[src]
impl Canonicalize for SystemTimeError
[src]
impl<T: Canonicalize + Copy> Canonicalize for Vec<T>
[src]
Canonicalizes a vector
This canonicalizes every single element.
Bugs
This implementation only works if the single elements implement the Copy
trait. I think that this isn't realy necessary
impl Canonicalize for PathBuf
[src]
Canonicalize a PathBuf
Canonicalies a PathBuf
Panics
This panics if std::fs::canonicalize returns an Err variant.