[][src]Enum cometd::packet::Channel

pub enum Channel {
    Handshake,
    Connect,
    Subscribe,
    Other(String),
}

Variants

Handshake
Connect
Subscribe
Other(String)

Implementations

impl Channel[src]

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

pub fn as_str(&self) -> &str[src]

pub fn into_cow(self) -> Cow<'static, str>[src]

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

Trait Implementations

impl Clone for Channel[src]

impl Debug for Channel[src]

impl Default for Channel[src]

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

impl Eq for Channel[src]

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

impl From<String> for Channel[src]

impl FromStr for Channel[src]

type Err = Infallible

The associated error which can be returned from parsing.

impl Hash for Channel[src]

impl Into<Cow<'static, str>> for Channel[src]

impl Into<String> for Channel[src]

impl PartialEq<Channel> for Channel[src]

impl Serialize for Channel[src]

impl StructuralEq for Channel[src]

impl StructuralPartialEq for Channel[src]

Auto Trait Implementations

impl RefUnwindSafe for Channel

impl Send for Channel

impl Sync for Channel

impl Unpin for Channel

impl UnwindSafe for Channel

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>,