[][src]Struct conjure_error::Params

pub struct Params<'a>(_);

A collection of error parameters, either safe or unsafe.

Methods

impl<'a> Params<'a>[src]

Important traits for ParamsIter<'a>
pub fn iter(&self) -> ParamsIter<'a>[src]

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, '_> IntoIterator for &'_ Params<'a>[src]

type IntoIter = ParamsIter<'a>

Which kind of iterator are we turning this into?

type Item = (&'a str, &'a Value)

The type of the elements being iterated over.

impl<'a> Debug for Params<'a>[src]

impl<'a, '_> Index<&'_ str> for Params<'a>[src]

type Output = Value

The returned type after indexing.

Auto Trait Implementations

impl<'a> Send for Params<'a>

impl<'a> Sync for Params<'a>

impl<'a> Unpin for Params<'a>

impl<'a> UnwindSafe for Params<'a>

impl<'a> RefUnwindSafe for Params<'a>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]