Enum oracle::ConnStatus[][src]

pub enum ConnStatus {
    Normal,
    NotConnected,
    Closed,
}

Connection status

Variants

Normal

The connection is alive. See Connection.status for details.

NotConnected

The connection has been terminated. See Connection.status for details.

Closed

The connection has been closed by Connection.close

Trait Implementations

impl Clone for ConnStatus[src]

impl Copy for ConnStatus[src]

impl Debug for ConnStatus[src]

impl PartialEq<ConnStatus> for ConnStatus[src]

impl StructuralPartialEq for ConnStatus[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

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.