pub enum Certificate {
FilePath(String),
Text(String),
}Available on crate feature
pg only.Expand description
A TLS certificate. This is a text document (starting with -----BEGIN CERTIFICATE-----).
Variants§
FilePath(String)
The certificate is a file mounted in the guest at the given path.
Text(String)
The certificate text is the given string.
Auto Trait Implementations§
impl Freeze for Certificate
impl RefUnwindSafe for Certificate
impl Send for Certificate
impl Sync for Certificate
impl Unpin for Certificate
impl UnsafeUnpin for Certificate
impl UnwindSafe for Certificate
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