Trait mesh::payload::Downcast

source ·
pub trait Downcast<T> { }
Expand description

Marker trait indicating that an encoded value of T can be decoded as a Self.

Implementations on Foreign Types§

source§

impl Downcast<Infallible> for Infallible

source§

impl Downcast<bool> for bool

source§

impl Downcast<char> for char

source§

impl Downcast<f32> for f32

source§

impl Downcast<f64> for f64

source§

impl Downcast<i8> for i8

source§

impl Downcast<i16> for i16

source§

impl Downcast<i32> for i32

source§

impl Downcast<i64> for i64

source§

impl Downcast<isize> for isize

source§

impl Downcast<u8> for u8

source§

impl Downcast<u16> for u16

source§

impl Downcast<u32> for u32

source§

impl Downcast<u64> for u64

source§

impl Downcast<u128> for u128

source§

impl Downcast<()> for ()

source§

impl Downcast<usize> for usize

source§

impl Downcast<String> for String

source§

impl Downcast<NonZero<i8>> for NonZero<i8>

source§

impl Downcast<NonZero<i16>> for NonZero<i16>

source§

impl Downcast<NonZero<i32>> for NonZero<i32>

source§

impl Downcast<NonZero<i64>> for NonZero<i64>

source§

impl Downcast<NonZero<isize>> for NonZero<isize>

source§

impl Downcast<NonZero<u8>> for NonZero<u8>

source§

impl Downcast<NonZero<u16>> for NonZero<u16>

source§

impl Downcast<NonZero<u32>> for NonZero<u32>

source§

impl Downcast<NonZero<u64>> for NonZero<u64>

source§

impl Downcast<NonZero<usize>> for NonZero<usize>

source§

impl Downcast<Wrapping<u64>> for Wrapping<u64>

source§

impl Downcast<Duration> for Duration

source§

impl<E0, U0> Downcast<(U0,)> for (E0,)
where E0: Downcast<U0>,

source§

impl<E0, U0, E1, U1> Downcast<(U0, U1)> for (E0, E1)
where E0: Downcast<U0>, E1: Downcast<U1>,

source§

impl<E0, U0, E1, U1, E2, U2> Downcast<(U0, U1, U2)> for (E0, E1, E2)
where E0: Downcast<U0>, E1: Downcast<U1>, E2: Downcast<U2>,

source§

impl<E0, U0, E1, U1, E2, U2, E3, U3> Downcast<(U0, U1, U2, U3)> for (E0, E1, E2, E3)
where E0: Downcast<U0>, E1: Downcast<U1>, E2: Downcast<U2>, E3: Downcast<U3>,

source§

impl<E0, U0, E1, U1, E2, U2, E3, U3, E4, U4> Downcast<(U0, U1, U2, U3, U4)> for (E0, E1, E2, E3, E4)
where E0: Downcast<U0>, E1: Downcast<U1>, E2: Downcast<U2>, E3: Downcast<U3>, E4: Downcast<U4>,

source§

impl<E0, U0, E1, U1, E2, U2, E3, U3, E4, U4, E5, U5> Downcast<(U0, U1, U2, U3, U4, U5)> for (E0, E1, E2, E3, E4, E5)
where E0: Downcast<U0>, E1: Downcast<U1>, E2: Downcast<U2>, E3: Downcast<U3>, E4: Downcast<U4>, E5: Downcast<U5>,

source§

impl<E0, U0, E1, U1, E2, U2, E3, U3, E4, U4, E5, U5, E6, U6> Downcast<(U0, U1, U2, U3, U4, U5, U6)> for (E0, E1, E2, E3, E4, E5, E6)
where E0: Downcast<U0>, E1: Downcast<U1>, E2: Downcast<U2>, E3: Downcast<U3>, E4: Downcast<U4>, E5: Downcast<U5>, E6: Downcast<U6>,

source§

impl<T> Downcast<Range<T>> for Range<T>

source§

impl<T, U> Downcast<Option<U>> for Option<T>
where T: Downcast<U>,

source§

impl<T, U> Downcast<Box<U>> for Box<T>
where T: Downcast<U>,

source§

impl<T, U> Downcast<Arc<U>> for Arc<T>
where T: Downcast<U>,

source§

impl<T, U> Downcast<Vec<U>> for Vec<T>
where T: Downcast<U>,

source§

impl<T, U, T_mapped, U_mapped> Downcast<Result<T_mapped, U_mapped>> for Result<T, U>
where T: Downcast<T_mapped>, U: Downcast<U_mapped>,

source§

impl<T, U, const N: usize> Downcast<[U; N]> for Option<[T; N]>
where T: Downcast<U>,

Implementors§

source§

impl Downcast<CancelReason> for CancelReason

source§

impl Downcast<RemoteError> for RemoteError

source§

impl Downcast<Port> for Port

source§

impl Downcast<WritePipe> for WritePipe

source§

impl Downcast<Address> for Address

source§

impl Downcast<CancelContext> for CancelContext

source§

impl Downcast<NodeId> for NodeId

source§

impl Downcast<PortId> for PortId

source§

impl Downcast<Uuid> for Uuid

source§

impl Downcast<ProtobufAny> for ProtobufAny

source§

impl Downcast<Timestamp> for Timestamp

source§

impl<I, R, I_mapped, R_mapped> Downcast<Rpc<I_mapped, R_mapped>> for Rpc<I, R>
where I: MeshField + Downcast<I_mapped>, R: MeshField, OneshotSender<R>: Downcast<OneshotSender<R_mapped>>,

source§

impl<T> Downcast<Cell<T>> for Cell<T>
where T: MeshField + Sync + Clone,

source§

impl<T> Downcast<CellUpdater<T>> for CellUpdater<T>

source§

impl<T> Downcast<T> for Message
where T: MeshPayload,

source§

impl<T, U> Downcast<MpscReceiver<U>> for MpscReceiver<T>
where T: Downcast<U>,

source§

impl<T, U> Downcast<MpscSender<U>> for MpscSender<T>
where T: MeshField, U: MeshField + Downcast<T>,

source§

impl<T, U> Downcast<OneshotReceiver<U>> for OneshotReceiver<T>

source§

impl<T, U> Downcast<OneshotSender<U>> for OneshotSender<T>
where T: MeshField, U: MeshField, Sender<T>: Downcast<Sender<U>>,

source§

impl<T, U> Downcast<Receiver<U>> for Receiver<T>

source§

impl<T, U> Downcast<Sender<U>> for Sender<T>

source§

impl<T, U> Downcast<EncodeAs<T, U>> for EncodeAs<T, U>
where U: From<T> + Into<T>,