enum ClientSource {
Roots(Vec<CertificateDer<'static>>),
Rustls(Box<ClientConfig>),
}Variants§
Trait Implementations§
Source§impl Clone for ClientSource
impl Clone for ClientSource
Source§fn clone(&self) -> ClientSource
fn clone(&self) -> ClientSource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ClientSource
impl !RefUnwindSafe for ClientSource
impl Send for ClientSource
impl Sync for ClientSource
impl Unpin for ClientSource
impl UnsafeUnpin for ClientSource
impl !UnwindSafe for ClientSource
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