[][src]Enum kas::event::VoidMsg

pub enum VoidMsg {}

A void message

This type is not constructible, therefore Response<VoidMsg> is known at compile-time not to contain a Response::Msg(..) variant.

It is trivial to implement From<VoidMsg> for any type T; unfortunately Rust's type system is too restrictive for us to provide a blanket implementation (due both to orphan rules for trait implementations and to conflicting implementations; it is possible that this may change in the future).

From<VoidMsg> is implemented for a number of language types; custom message types are required to implement this via the derive(VoidMsg) macro.

Trait Implementations

impl Clone for VoidMsg[src]

impl Debug for VoidMsg[src]

impl From<VoidMsg> for bool[src]

impl From<VoidMsg> for char[src]

impl From<VoidMsg> for i32[src]

impl From<VoidMsg> for i64[src]

impl From<VoidMsg> for i128[src]

impl From<VoidMsg> for isize[src]

impl From<VoidMsg> for f32[src]

impl From<VoidMsg> for f64[src]

impl From<VoidMsg> for &'static str[src]

impl From<VoidMsg> for String[src]

impl From<VoidMsg> for CowString[src]

impl From<VoidMsg> for u8[src]

impl From<VoidMsg> for u16[src]

impl From<VoidMsg> for u32[src]

impl From<VoidMsg> for u64[src]

impl From<VoidMsg> for u128[src]

impl From<VoidMsg> for usize[src]

impl From<VoidMsg> for i8[src]

impl From<VoidMsg> for i16[src]

Auto Trait Implementations

impl RefUnwindSafe for VoidMsg

impl Send for VoidMsg

impl Sync for VoidMsg

impl Unpin for VoidMsg

impl UnwindSafe for VoidMsg

Blanket Implementations

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

impl<Src, Scheme> ApproxFrom<Src, Scheme> for Src where
    Scheme: ApproxScheme
[src]

type Err = NoError

The error type produced by a failed conversion.

impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Src where
    Dst: ApproxFrom<Src, Scheme>,
    Scheme: ApproxScheme
[src]

type Err = <Dst as ApproxFrom<Src, Scheme>>::Err

The error type produced by a failed conversion.

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

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

impl<T, Dst> ConvAsUtil<Dst> for T[src]

impl<T> ConvUtil for T[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<Src> TryFrom<Src> for Src[src]

type Err = NoError

The error type produced by a failed conversion.

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<Src, Dst> TryInto<Dst> for Src where
    Dst: TryFrom<Src>, 
[src]

type Err = <Dst as TryFrom<Src>>::Err

The error type produced by a failed conversion.

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<Src> ValueFrom<Src> for Src[src]

type Err = NoError

The error type produced by a failed conversion.

impl<Src, Dst> ValueInto<Dst> for Src where
    Dst: ValueFrom<Src>, 
[src]

type Err = <Dst as ValueFrom<Src>>::Err

The error type produced by a failed conversion.