pub struct KibanaBundle<S> { /* private fields */ }Expand description
A Kibana asset bundle backed by a source type.
Implementations§
Source§impl KibanaBundle<Filesystem>
impl KibanaBundle<Filesystem>
Sourcepub fn write(&self, bundle: &SyncBundle) -> Result<()>
pub fn write(&self, bundle: &SyncBundle) -> Result<()>
Write a storage-neutral bundle to the stable filesystem layout.
Source§impl<B: AsRef<[u8]>> KibanaBundle<Entries<B>>
impl<B: AsRef<[u8]>> KibanaBundle<Entries<B>>
Sourcepub fn from_entries<P>(
entries: impl IntoIterator<Item = (P, B)>,
) -> Result<Self>
pub fn from_entries<P>( entries: impl IntoIterator<Item = (P, B)>, ) -> Result<Self>
Construct a bundle from root-relative path and content pairs.
Source§impl<S: BundleSource> KibanaBundle<S>
impl<S: BundleSource> KibanaBundle<S>
Sourcepub fn read_all(&self) -> Result<SyncBundle>
pub fn read_all(&self) -> Result<SyncBundle>
Read all resource families discoverable in the bundle.
Sourcepub fn read(&self, selection: &SyncSelection) -> Result<SyncBundle>
pub fn read(&self, selection: &SyncSelection) -> Result<SyncBundle>
Read selected resource families into a storage-neutral bundle.
Trait Implementations§
Source§impl<S: Clone> Clone for KibanaBundle<S>
impl<S: Clone> Clone for KibanaBundle<S>
Source§fn clone(&self) -> KibanaBundle<S>
fn clone(&self) -> KibanaBundle<S>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<S> Freeze for KibanaBundle<S>where
S: Freeze,
impl<S> RefUnwindSafe for KibanaBundle<S>where
S: RefUnwindSafe,
impl<S> Send for KibanaBundle<S>where
S: Send,
impl<S> Sync for KibanaBundle<S>where
S: Sync,
impl<S> Unpin for KibanaBundle<S>where
S: Unpin,
impl<S> UnsafeUnpin for KibanaBundle<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for KibanaBundle<S>where
S: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more