[][src]Trait sentry_core::IntoBreadcrumbs

pub trait IntoBreadcrumbs {
    type Output: Iterator<Item = Breadcrumb>;
    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<Item = Breadcrumb>

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: FnOnce() -> I, I: IntoBreadcrumbs> IntoBreadcrumbs for F[src]

type Output = I::Output

Loading content...