pub struct SslHandle { /* private fields */ }Expand description
Lightweight session descriptor for SSL operations.
Implementations§
Source§impl SslHandle
impl SslHandle
Sourcepub fn default_handle() -> Self
pub fn default_handle() -> Self
Convenience constructor for unit-test / CPU environments (device 0, SM 8.0, seed 42).
Sourcepub fn sm_version(&self) -> SmVersion
pub fn sm_version(&self) -> SmVersion
Return the SM version.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SslHandle
impl RefUnwindSafe for SslHandle
impl Send for SslHandle
impl Sync for SslHandle
impl Unpin for SslHandle
impl UnsafeUnpin for SslHandle
impl UnwindSafe for SslHandle
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