pub struct RuntimeConfig {
pub hostname: String<MAX_LABEL_LEN>,
pub root_tag: RootTag,
pub decoy_paths: Vec<String<MAX_PATH_LEN>, MAX_PATH_ENTRIES>,
pub watch_paths: Vec<String<MAX_PATH_LEN>, MAX_PATH_ENTRIES>,
pub credential_types: Vec<String<MAX_LABEL_LEN>, MAX_CREDENTIAL_TYPES>,
pub honeytoken_count: usize,
pub artifact_permissions: u32,
}Expand description
Stack-only runtime configuration for no-allocation operation.
Fields§
§hostname: String<MAX_LABEL_LEN>Effective agent hostname.
root_tag: RootTagRoot tag used for derivation.
decoy_paths: Vec<String<MAX_PATH_LEN>, MAX_PATH_ENTRIES>Decoy paths (UTF-8 only).
watch_paths: Vec<String<MAX_PATH_LEN>, MAX_PATH_ENTRIES>Watch paths (UTF-8 only).
credential_types: Vec<String<MAX_LABEL_LEN>, MAX_CREDENTIAL_TYPES>Credential types.
honeytoken_count: usizeHoneytoken count.
artifact_permissions: u32Artifact permissions.
Implementations§
Source§impl RuntimeConfig
impl RuntimeConfig
Sourcepub fn derive_artifact_tag_hex_into(
&self,
artifact_id: &str,
out: &mut [u8; 128],
)
pub fn derive_artifact_tag_hex_into( &self, artifact_id: &str, out: &mut [u8; 128], )
Derive an artifact tag hex digest into a caller-provided fixed buffer.
No heap allocation occurs.
Trait Implementations§
Source§impl Clone for RuntimeConfig
impl Clone for RuntimeConfig
Source§fn clone(&self) -> RuntimeConfig
fn clone(&self) -> RuntimeConfig
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 moreAuto Trait Implementations§
impl Freeze for RuntimeConfig
impl RefUnwindSafe for RuntimeConfig
impl Send for RuntimeConfig
impl Sync for RuntimeConfig
impl Unpin for RuntimeConfig
impl UnsafeUnpin for RuntimeConfig
impl UnwindSafe for RuntimeConfig
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