sentry

Trait 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§