pub enum TlsContext {
Client(TlsClient),
Server(TlsServer),
}Expand description
.
Variants§
Trait Implementations§
Source§impl BluePrint<TlsContext> for TlsServer
impl BluePrint<TlsContext> for TlsServer
Source§type Config = TlsServerConfig
type Config = TlsServerConfig
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
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
Source§impl Orbit for TlsContext
impl Orbit for TlsContext
Source§type Position = TlsPosition
type Position = TlsPosition
Current Position of the Orbit.
Auto Trait Implementations§
impl !RefUnwindSafe for TlsContext
impl !UnwindSafe for TlsContext
impl Freeze for TlsContext
impl Send for TlsContext
impl Sync for TlsContext
impl Unpin for TlsContext
impl UnsafeUnpin for TlsContext
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