relay_log::sentry

Trait IntoBreadcrumbs

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§

type Output: Iterator<Item = Breadcrumb>

The iterator type for the breadcrumbs.

Required Methods§

fn into_breadcrumbs(self) -> Self::Output

This converts the object into an optional breadcrumb.

Implementations on Foreign Types§

§

impl IntoBreadcrumbs for Option<Breadcrumb>

§

impl IntoBreadcrumbs for Vec<Breadcrumb>

Implementors§