pub struct TlsServer { /* private fields */ }Expand description
Rustls Server
Implementations§
Source§impl TlsServer
impl TlsServer
Sourcepub fn with_config(config: TlsServerConfig) -> Result<Self, TlsError>
pub fn with_config(config: TlsServerConfig) -> 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 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
Auto Trait Implementations§
impl !RefUnwindSafe for TlsServer
impl !UnwindSafe for TlsServer
impl Freeze for TlsServer
impl Send for TlsServer
impl Sync for TlsServer
impl Unpin for TlsServer
impl UnsafeUnpin for TlsServer
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