pub struct CertifiedKeyLoader<RK, RC> {
pub key_reader: RK,
pub certs_reader: RC,
}
Expand description
Load the rustls::sign::CertifiedKey
from the specified paths using the specified readers.
Fields§
§key_reader: RK
Key reader - reads a key from the file.
certs_reader: RC
Certs reader - reads a list of certs from file.
Trait Implementations§
source§impl<RK, RC, E> Loader for CertifiedKeyLoader<RK, RC>
impl<RK, RC, E> Loader for CertifiedKeyLoader<RK, RC>
§type Value = CertifiedKey
type Value = CertifiedKey
The value to load.
§type Error = CertifiedKeyLoaderError<E>
type Error = CertifiedKeyLoaderError<E>
The error we can encounter while loading.
Auto Trait Implementations§
impl<RK, RC> RefUnwindSafe for CertifiedKeyLoader<RK, RC>where
RC: RefUnwindSafe,
RK: RefUnwindSafe,
impl<RK, RC> Send for CertifiedKeyLoader<RK, RC>
impl<RK, RC> Sync for CertifiedKeyLoader<RK, RC>
impl<RK, RC> Unpin for CertifiedKeyLoader<RK, RC>
impl<RK, RC> UnwindSafe for CertifiedKeyLoader<RK, RC>where
RC: UnwindSafe,
RK: UnwindSafe,
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