pub enum ForkingRequestData<RD1, RD2> {
First(RD1),
Second(RD2),
}
Expand description
Tagged-union container for ForkingHandler
Variants§
Trait Implementations§
Source§impl<RE1, RE2> RenderableOnMinimal for ForkingRequestData<RE1, RE2>
impl<RE1, RE2> RenderableOnMinimal for ForkingRequestData<RE1, RE2>
Source§type Error<IE: RenderableOnMinimal + Debug> = ForkingRequestData<<RE1 as RenderableOnMinimal>::Error<IE>, <RE2 as RenderableOnMinimal>::Error<IE>>
type Error<IE: RenderableOnMinimal + Debug> = ForkingRequestData<<RE1 as RenderableOnMinimal>::Error<IE>, <RE2 as RenderableOnMinimal>::Error<IE>>
Error to return when even the error rendering is unsuccessful (a “double error”). Read more
Source§fn render<M: MinimalWritableMessage>(
self,
message: &mut M,
) -> Result<(), Self::Error<M::UnionError>>
fn render<M: MinimalWritableMessage>( self, message: &mut M, ) -> Result<(), Self::Error<M::UnionError>>
Express the error in a CoAP response message Read more
Auto Trait Implementations§
impl<RD1, RD2> Freeze for ForkingRequestData<RD1, RD2>
impl<RD1, RD2> RefUnwindSafe for ForkingRequestData<RD1, RD2>where
RD1: RefUnwindSafe,
RD2: RefUnwindSafe,
impl<RD1, RD2> Send for ForkingRequestData<RD1, RD2>
impl<RD1, RD2> Sync for ForkingRequestData<RD1, RD2>
impl<RD1, RD2> Unpin for ForkingRequestData<RD1, RD2>
impl<RD1, RD2> UnwindSafe for ForkingRequestData<RD1, RD2>where
RD1: UnwindSafe,
RD2: UnwindSafe,
Blanket Implementations§
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
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.