Trait sentry_core::IntoBreadcrumbs

source ·
pub trait IntoBreadcrumbs {
    type Output: Iterator<Item = Breadcrumb>;

    // Required method
    fn into_breadcrumbs(self) -> Self::Output;
}
Expand description

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

This is used for the add_breadcrumb function.

Required Associated Types§

source

type Output: Iterator<Item = Breadcrumb>

The iterator type for the breadcrumbs.

Required Methods§

source

fn into_breadcrumbs(self) -> Self::Output

This converts the object into an optional breadcrumb.

Implementations on Foreign Types§

source§

impl IntoBreadcrumbs for Option<Breadcrumb>

source§

impl IntoBreadcrumbs for Vec<Breadcrumb>

Implementors§