[][src]Enum stdweb::web::SocketBinaryType

pub enum SocketBinaryType {
    Blob,
    ArrayBuffer,
}

The type of binary data being transmitted by the WebSocket connection.

(JavaScript docs)

Variants

Blob

A Blob object represents a file-like object of immutable, raw data. (Javascript docs)

ArrayBuffer

The ArrayBuffer object is used to represent a generic, fixed-length raw binary data buffer. (Javascript docs)

Trait Implementations

impl Clone for SocketBinaryType[src]

impl Copy for SocketBinaryType[src]

impl Eq for SocketBinaryType[src]

impl Ord for SocketBinaryType[src]

impl PartialEq<SocketBinaryType> for SocketBinaryType[src]

impl PartialOrd<SocketBinaryType> for SocketBinaryType[src]

impl Debug for SocketBinaryType[src]

impl Hash for SocketBinaryType[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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