pub struct CreationError<T> { /* private fields */ }
Available on crate feature
alloc
only.Expand description
Error on conversion into a URI template type.
Implementations§
source§impl<T> CreationError<T>
impl<T> CreationError<T>
sourcepub fn into_source(self) -> T
pub fn into_source(self) -> T
Returns the source data.
sourcepub fn validation_error(&self) -> Error
pub fn validation_error(&self) -> Error
Returns the validation error.
Trait Implementations§
source§impl<T: Clone> Clone for CreationError<T>
impl<T: Clone> Clone for CreationError<T>
source§impl<T: Debug> Debug for CreationError<T>
impl<T: Debug> Debug for CreationError<T>
source§impl<T> Display for CreationError<T>
impl<T> Display for CreationError<T>
source§impl<T: Debug> Error for CreationError<T>
Available on crate feature std
only.
impl<T: Debug> Error for CreationError<T>
Available on crate feature
std
only.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()
Auto Trait Implementations§
impl<T> Freeze for CreationError<T>where
T: Freeze,
impl<T> RefUnwindSafe for CreationError<T>where
T: RefUnwindSafe,
impl<T> Send for CreationError<T>where
T: Send,
impl<T> Sync for CreationError<T>where
T: Sync,
impl<T> Unpin for CreationError<T>where
T: Unpin,
impl<T> UnwindSafe for CreationError<T>where
T: UnwindSafe,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
source§fn try_to_string(&self) -> Result<String, TryReserveError>
Available on crate feature alloc
only.
fn try_to_string(&self) -> Result<String, TryReserveError>
alloc
only.ToString::to_string
, but without panic on OOM.