[][src]Enum cometd::packet::ConnectionType

pub enum ConnectionType {
    WebSocket,
    LongPolling,
    CallbackPolling,
    Other(String),
}

Variants

WebSocket
LongPolling
CallbackPolling
Other(String)

Implementations

impl ConnectionType[src]

pub fn from_string(s: String) -> Self[src]

pub fn into_string(self) -> String[src]

Trait Implementations

impl Clone for ConnectionType[src]

impl Debug for ConnectionType[src]

impl Default for ConnectionType[src]

impl<'de> Deserialize<'de> for ConnectionType[src]

impl<'a> From<&'a str> for ConnectionType[src]

impl From<String> for ConnectionType[src]

impl FromStr for ConnectionType[src]

type Err = Infallible

The associated error which can be returned from parsing.

impl Into<String> for ConnectionType[src]

impl Serialize for ConnectionType[src]

Auto Trait Implementations

impl RefUnwindSafe for ConnectionType

impl Send for ConnectionType

impl Sync for ConnectionType

impl Unpin for ConnectionType

impl UnwindSafe for ConnectionType

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,