TrimCtx

Trait TrimCtx 

Source
pub trait TrimCtx: SplitableSpanCtx + HasLength {
    // Provided method
    fn trim_ctx(&mut self, at: usize, ctx: &Self::Ctx) -> Option<Self> { ... }
}

Provided Methods§

Source

fn trim_ctx(&mut self, at: usize, ctx: &Self::Ctx) -> Option<Self>

Trim self to at most at items. Remainder (if any) is returned.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§