pub struct TlsClient { /* private fields */ }Expand description
Rustls Client
Implementations§
Source§impl TlsClient
impl TlsClient
Sourcepub fn with_config(config: TlsClientConfig) -> Result<Self, TlsError>
pub fn with_config(config: TlsClientConfig) -> Result<Self, TlsError>
Construct new
Sourcepub fn advance_with<B, L: Left, R: Right>(
&mut self,
_u: &mut B,
l: &mut L,
r: &mut R,
) -> Result<TlsPosition, TlsError>
pub fn advance_with<B, L: Left, R: Right>( &mut self, _u: &mut B, l: &mut L, r: &mut R, ) -> Result<TlsPosition, TlsError>
Advance the state machine
Trait Implementations§
Source§impl BluePrint<TlsContext> for TlsClient
impl BluePrint<TlsContext> for TlsClient
Source§type Config = TlsClientConfig
type Config = TlsClientConfig
Configuration passed to the instantiated Orbit
Source§fn with_defaults() -> Result<TlsContext, Self::Error>
fn with_defaults() -> Result<TlsContext, Self::Error>
Instantiate Orbit with defaults
Source§fn with_configuration(c: Self::Config) -> Result<TlsContext, Self::Error>
fn with_configuration(c: Self::Config) -> Result<TlsContext, Self::Error>
Instantiate Orbit with the given configuration
Auto Trait Implementations§
impl !RefUnwindSafe for TlsClient
impl !UnwindSafe for TlsClient
impl Freeze for TlsClient
impl Send for TlsClient
impl Sync for TlsClient
impl Unpin for TlsClient
impl UnsafeUnpin for TlsClient
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