pub struct StorageConfig {
pub bundle_dir: PathBuf,
pub state_db: PathBuf,
pub seal_trust_anchors: Option<Vec<PathBuf>>,
pub seal_authorizations: Vec<SealAuthorization>,
pub seal_signer_pins: Vec<PathBuf>,
pub allow_unauthenticated_bundles: bool,
}Fields§
§bundle_dir: PathBuf§state_db: PathBuf§seal_trust_anchors: Option<Vec<PathBuf>>DER or PEM CA certificates for the bounded direct-issuer seal profile.
seal_signer_pins: Vec<PathBuf>Explicitly trusted signer certificates, distinct from CA trust anchors.
allow_unauthenticated_bundles: boolPermit structure-only demo admission when no seal trust or scope authorizations are configured. Never bypasses configured trust checks.
Trait Implementations§
Source§impl Clone for StorageConfig
impl Clone for StorageConfig
Source§fn clone(&self) -> StorageConfig
fn clone(&self) -> StorageConfig
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 moreSource§impl Debug for StorageConfig
impl Debug for StorageConfig
Source§impl<'de> Deserialize<'de> for StorageConfig
impl<'de> Deserialize<'de> for StorageConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for StorageConfig
impl RefUnwindSafe for StorageConfig
impl Send for StorageConfig
impl Sync for StorageConfig
impl Unpin for StorageConfig
impl UnsafeUnpin for StorageConfig
impl UnwindSafe for StorageConfig
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