pub enum Roots {
System,
Pem(String),
}Expand description
What upstream certificates are verified against.
Variants§
System
The operating system’s trust store (rustls-native-certs).
Pem(String)
These PEM certificates alone: tests, or a private CA.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Roots
impl RefUnwindSafe for Roots
impl Send for Roots
impl Sync for Roots
impl Unpin for Roots
impl UnsafeUnpin for Roots
impl UnwindSafe for Roots
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