[][src]Struct protocol::types::Unimplemented

pub struct Unimplemented;

A type that does not have any protocol serialization implemented.

Behaviour

If any unimplemented parcel is read, an error of type UnimplementedParcel is returned. This allows clients to handle unimplemented data gracefully.

If you attempt to write an unimplemented parcel, the program panics. It makes sense to do error handling on unimplemented types that are read from remote machines, but it does not make sense to allow undefined data to be sent.

Trait Implementations

impl Parcel for Unimplemented[src]

impl Clone for Unimplemented[src]

impl Copy for Unimplemented[src]

impl Eq for Unimplemented[src]

impl Ord for Unimplemented[src]

impl PartialEq<Unimplemented> for Unimplemented[src]

impl PartialOrd<Unimplemented> for Unimplemented[src]

impl Debug for Unimplemented[src]

impl Hash for Unimplemented[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]