pub struct SecurityConfigView<'a> { /* private fields */ }Expand description
Borrowed configuration input for a side-effect-free readiness check.
Implementations§
Source§impl<'a> SecurityConfigView<'a>
impl<'a> SecurityConfigView<'a>
Sourcepub fn with_trust_anchor(self, path: &'a Path) -> Self
pub fn with_trust_anchor(self, path: &'a Path) -> Self
Sets trust anchor and returns the updated value.
Sourcepub fn with_secret_file(self, path: &'a Path) -> Self
pub fn with_secret_file(self, path: &'a Path) -> Self
Sets secret file and returns the updated value.
Sourcepub fn with_bootstrap_expiry(self, expires_at: SystemTime) -> Self
pub fn with_bootstrap_expiry(self, expires_at: SystemTime) -> Self
Sets bootstrap expiry and returns the updated value.
Sourcepub fn with_insecure_downgrade(self, enabled: bool) -> Self
pub fn with_insecure_downgrade(self, enabled: bool) -> Self
Sets insecure downgrade and returns the updated value.
Trait Implementations§
Source§impl<'a> Clone for SecurityConfigView<'a>
impl<'a> Clone for SecurityConfigView<'a>
impl<'a> Copy for SecurityConfigView<'a>
Auto Trait Implementations§
impl<'a> Freeze for SecurityConfigView<'a>
impl<'a> RefUnwindSafe for SecurityConfigView<'a>
impl<'a> Send for SecurityConfigView<'a>
impl<'a> Sync for SecurityConfigView<'a>
impl<'a> Unpin for SecurityConfigView<'a>
impl<'a> UnsafeUnpin for SecurityConfigView<'a>
impl<'a> UnwindSafe for SecurityConfigView<'a>
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