[][src]Trait sentry::IntoBreadcrumbs

pub trait IntoBreadcrumbs where
    <Self::Output as Iterator>::Item == Breadcrumb
{ type Output: Iterator; fn into_breadcrumbs(self) -> Self::Output; }

A helper trait that converts self into an Iterator of Breadcrumbs.

This is used for the add_breadcrumb function.

Associated Types

type Output: Iterator

The iterator type for the breadcrumbs.

Loading content...

Required methods

fn into_breadcrumbs(self) -> Self::Output

This converts the object into an optional breadcrumb.

Loading content...

Implementations on Foreign Types

impl IntoBreadcrumbs for Vec<Breadcrumb>[src]

type Output = IntoIter<Breadcrumb>

impl IntoBreadcrumbs for Option<Breadcrumb>[src]

type Output = IntoIter<Breadcrumb>

Loading content...

Implementors

impl IntoBreadcrumbs for Breadcrumb[src]

impl<F, I> IntoBreadcrumbs for F where
    F: FnOnce() -> I,
    I: IntoBreadcrumbs
[src]

Loading content...