pub struct WireEnvelope<ID, T> {
pub id: ID,
pub data: T,
}Fields§
§id: ID§data: TImplementations§
Source§impl<ID, T> WireEnvelope<ID, T>
impl<ID, T> WireEnvelope<ID, T>
Trait Implementations§
Source§impl<T: Widget> From<WireEnvelope<DirectId<ClientProtocol>, LiveResponse>> for Msg<T>
impl<T: Widget> From<WireEnvelope<DirectId<ClientProtocol>, LiveResponse>> for Msg<T>
Source§fn from(response: WireEnvelope<ClientReqId, LiveResponse>) -> Self
fn from(response: WireEnvelope<ClientReqId, LiveResponse>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<ID, T> Freeze for WireEnvelope<ID, T>
impl<ID, T> RefUnwindSafe for WireEnvelope<ID, T>where
ID: RefUnwindSafe,
T: RefUnwindSafe,
impl<ID, T> Send for WireEnvelope<ID, T>
impl<ID, T> Sync for WireEnvelope<ID, T>
impl<ID, T> Unpin for WireEnvelope<ID, T>
impl<ID, T> UnsafeUnpin for WireEnvelope<ID, T>where
ID: UnsafeUnpin,
T: UnsafeUnpin,
impl<ID, T> UnwindSafe for WireEnvelope<ID, T>where
ID: UnwindSafe,
T: UnwindSafe,
Blanket Implementations§
impl<T> Any for Twhere
T: Any,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T, V> IntoOptPropValue<V> for Twhere
T: IntoPropValue<Option<V>>,
impl<T, V> IntoOptPropValue<V> for Twhere
T: IntoPropValue<Option<V>>,
Source§fn into_opt_prop_value(self) -> Option<V>
fn into_opt_prop_value(self) -> Option<V>
Convert
self to an optional value of a Properties struct.Source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.Source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.