Skip to main content

BundleSource

Trait BundleSource 

Source
pub trait BundleSource: Sealed {
    type Content<'a>: AsRef<[u8]>
       where Self: 'a;
}
Expand description

Read operations required by KibanaBundle.

This trait is sealed. Use Filesystem or Entries as the source.

Required Associated Types§

Source

type Content<'a>: AsRef<[u8]> where Self: 'a

Borrowed or owned content returned by this source.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl BundleSource for Filesystem

Source§

type Content<'a> = Vec<u8>

Source§

impl<B: AsRef<[u8]>> BundleSource for Entries<B>

Source§

type Content<'a> = &'a B where B: 'a