Struct security_framework::secure_transport::SessionState[][src]

pub struct SessionState(_);
Expand description

Specifies the state of a TLS session.

Implementations

impl SessionState[src]

pub const IDLE: SessionState[src]

The session has not yet started.

pub const HANDSHAKE: SessionState[src]

The session is in the handshake process.

pub const CONNECTED: SessionState[src]

The session is connected.

pub const CLOSED: SessionState[src]

The session has been terminated.

pub const ABORTED: SessionState[src]

The session has been aborted due to an error.

Trait Implementations

impl Debug for SessionState[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl PartialEq<SessionState> for SessionState[src]

fn eq(&self, other: &SessionState) -> bool[src]

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &SessionState) -> bool[src]

This method tests for !=.

impl Eq for SessionState[src]

impl StructuralEq for SessionState[src]

impl StructuralPartialEq for SessionState[src]

Auto Trait Implementations

impl RefUnwindSafe for SessionState

impl Send for SessionState

impl Sync for SessionState

impl Unpin for SessionState

impl UnwindSafe for SessionState

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.