pub enum FormatUrlError {
NotUtf8(PathBuf),
CannotBeAFile(PathBuf),
CannotAutodetectIp,
}
Variants§
NotUtf8(PathBuf)
The filename is not valid UTF-8
CannotBeAFile(PathBuf)
The filename cannot be a file, for example “/tmp/test/..” or “/”.
CannotAutodetectIp
IP autodetection failed and there is no fallback hostname set
Trait Implementations§
Source§impl Debug for FormatUrlError
impl Debug for FormatUrlError
Auto Trait Implementations§
impl Freeze for FormatUrlError
impl RefUnwindSafe for FormatUrlError
impl Send for FormatUrlError
impl Sync for FormatUrlError
impl Unpin for FormatUrlError
impl UnwindSafe for FormatUrlError
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
Mutably borrows from an owned value. Read more