[][src]Struct infotainer::ServerMessage

pub struct ServerMessage<T>(_)
where
    T: Serialize
;

Represents a message sent by the server to a connected client

Trait Implementations

impl<T: Clone> Clone for ServerMessage<T> where
    T: Serialize
[src]

impl<T: Debug> Debug for ServerMessage<T> where
    T: Serialize
[src]

impl<'de, T> Deserialize<'de> for ServerMessage<T> where
    T: Serialize,
    T: Deserialize<'de>, 
[src]

impl From<&'_ HashSet<Uuid, RandomState>> for ServerMessage<HashSet<Uuid>>[src]

impl<T> Message for ServerMessage<T> where
    T: Serialize
[src]

type Result = Result<(), ClientError>

The type of value that this message will resolved with if it is successful. Read more

impl<T: PartialEq> PartialEq<ServerMessage<T>> for ServerMessage<T> where
    T: Serialize
[src]

impl<T> Serialize for ServerMessage<T> where
    T: Serialize,
    T: Serialize
[src]

impl<T> StructuralPartialEq for ServerMessage<T> where
    T: Serialize
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for ServerMessage<T> where
    T: RefUnwindSafe
[src]

impl<T> Send for ServerMessage<T> where
    T: Send
[src]

impl<T> Sync for ServerMessage<T> where
    T: Sync
[src]

impl<T> Unpin for ServerMessage<T>[src]

impl<T> UnwindSafe for ServerMessage<T> where
    T: UnwindSafe
[src]

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> Instrument for T[src]

impl<T> Instrument 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>,