pub struct RequestResponse<'payload> {
pub channels: Vec<ChannelId>,
pub metadata: Metadata<'payload>,
pub ret: Payload<'payload>,
}Fields§
§channels: Vec<ChannelId>Channel IDs for streams in the response, in return type declaration order.
metadata: Metadata<'payload>Arbitrary response metadata
ret: Payload<'payload>Return value (Result<T, RoamError<E>>, where E could be Infallible depending on signature)
Trait Implementations§
Source§impl<'payload> Debug for RequestResponse<'payload>
impl<'payload> Debug for RequestResponse<'payload>
Auto Trait Implementations§
impl<'payload> Freeze for RequestResponse<'payload>
impl<'payload> RefUnwindSafe for RequestResponse<'payload>
impl<'payload> Send for RequestResponse<'payload>
impl<'payload> !Sync for RequestResponse<'payload>
impl<'payload> Unpin for RequestResponse<'payload>
impl<'payload> UnsafeUnpin for RequestResponse<'payload>
impl<'payload> UnwindSafe for RequestResponse<'payload>
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