pub struct BundleInputs<'a> {
pub dir: &'a Path,
pub filename: &'a str,
pub parent_ssl_cert_file: Option<&'a [u8]>,
pub ephemeral_ca_pem: &'a str,
}Expand description
Inputs to write_bundle.
Fields§
§dir: &'a PathDirectory the bundle will be written into. Caller is responsible for
ensuring the directory exists with appropriate permissions
(e.g. ~/.nono/sessions/<session_id>/ at 0o700).
filename: &'a strFilename inside dir. Conventionally intercept-ca.pem.
parent_ssl_cert_file: Option<&'a [u8]>Optional contents of the parent process’s SSL_CERT_FILE. When
Some, prepended verbatim to the bundle so that any corporate CA
trust the host had configured is preserved.
ephemeral_ca_pem: &'a strPEM-encoded ephemeral session CA cert (from
super::ca::EphemeralCa::cert_pem).
Auto Trait Implementations§
impl<'a> Freeze for BundleInputs<'a>
impl<'a> RefUnwindSafe for BundleInputs<'a>
impl<'a> Send for BundleInputs<'a>
impl<'a> Sync for BundleInputs<'a>
impl<'a> Unpin for BundleInputs<'a>
impl<'a> UnsafeUnpin for BundleInputs<'a>
impl<'a> UnwindSafe for BundleInputs<'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