pub struct PathToUrlError(pub PathBuf);Tuple Fields§
§0: PathBufTrait Implementations§
Source§impl Clone for PathToUrlError
impl Clone for PathToUrlError
Source§fn clone(&self) -> PathToUrlError
fn clone(&self) -> PathToUrlError
Returns a duplicate 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 PathToUrlError
impl Debug for PathToUrlError
Source§impl Display for PathToUrlError
impl Display for PathToUrlError
Source§impl Error for PathToUrlError
impl Error for PathToUrlError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl JsErrorClass for PathToUrlError
impl JsErrorClass for PathToUrlError
Source§fn get_message(&self) -> Cow<'static, str>
fn get_message(&self) -> Cow<'static, str>
Represents the error message used in JavaScript side.
Source§fn get_additional_properties(&self) -> AdditionalProperties
fn get_additional_properties(&self) -> AdditionalProperties
Additional properties that should be defined on the error in JavaScript side.
fn get_ref(&self) -> &(dyn Error + Send + Sync + 'static)
Source§impl PartialEq for PathToUrlError
impl PartialEq for PathToUrlError
impl Eq for PathToUrlError
impl StructuralPartialEq for PathToUrlError
Auto Trait Implementations§
impl Freeze for PathToUrlError
impl RefUnwindSafe for PathToUrlError
impl Send for PathToUrlError
impl Sync for PathToUrlError
impl Unpin for PathToUrlError
impl UnwindSafe for PathToUrlError
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