[−][src]Struct conjure_error::Params
A collection of error parameters, either safe or unsafe.
Implementations
impl<'a> Params<'a>
[src]
pub fn iter(&self) -> ParamsIter<'a>ⓘNotable traits for ParamsIter<'a>
impl<'a> Iterator for ParamsIter<'a> type Item = (&'a str, &'a Any);
[src]
Notable traits for ParamsIter<'a>
impl<'a> Iterator for ParamsIter<'a> type Item = (&'a str, &'a Any);
Returns an iterator over the key-value parameter pairs.
pub fn len(&self) -> usize
[src]
Returns the number of parameters.
pub fn is_empty(&self) -> bool
[src]
Determines if there are no parameters.
Trait Implementations
impl<'a> Debug for Params<'a>
[src]
impl<'a> Index<&'_ str> for Params<'a>
[src]
impl<'a> IntoIterator for &Params<'a>
[src]
type Item = (&'a str, &'a Any)
The type of the elements being iterated over.
type IntoIter = ParamsIter<'a>
Which kind of iterator are we turning this into?
fn into_iter(self) -> ParamsIter<'a>ⓘNotable traits for ParamsIter<'a>
impl<'a> Iterator for ParamsIter<'a> type Item = (&'a str, &'a Any);
[src]
Notable traits for ParamsIter<'a>
impl<'a> Iterator for ParamsIter<'a> type Item = (&'a str, &'a Any);
Auto Trait Implementations
impl<'a> RefUnwindSafe for Params<'a>
[src]
impl<'a> Send for Params<'a>
[src]
impl<'a> Sync for Params<'a>
[src]
impl<'a> Unpin for Params<'a>
[src]
impl<'a> UnwindSafe for Params<'a>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,