pub struct AutoCollectRuntimeConfig {
pub enabled: bool,
pub include: &'static [&'static str],
pub exclude: &'static [&'static str],
pub max_file_size: u64,
}Expand description
Auto-collection settings for a single directory (artifacts or external logs).
These values are baked into the plugin binary at compile time by the
#[guest_plugin] macro, which reads them from plugin.toml.
Fields§
§enabled: boolWhether auto-collection is enabled for this directory.
include: &'static [&'static str]Glob patterns for files to include (e.g. ["**/*.log"]).
exclude: &'static [&'static str]Glob patterns for files to exclude.
max_file_size: u64Skip files larger than this (bytes). Prevents collecting huge dumps.
Trait Implementations§
Source§impl Clone for AutoCollectRuntimeConfig
impl Clone for AutoCollectRuntimeConfig
Source§fn clone(&self) -> AutoCollectRuntimeConfig
fn clone(&self) -> AutoCollectRuntimeConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AutoCollectRuntimeConfig
impl Debug for AutoCollectRuntimeConfig
impl Copy for AutoCollectRuntimeConfig
Auto Trait Implementations§
impl Freeze for AutoCollectRuntimeConfig
impl RefUnwindSafe for AutoCollectRuntimeConfig
impl Send for AutoCollectRuntimeConfig
impl Sync for AutoCollectRuntimeConfig
impl Unpin for AutoCollectRuntimeConfig
impl UnsafeUnpin for AutoCollectRuntimeConfig
impl UnwindSafe for AutoCollectRuntimeConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].