Struct cetacea_proto::StreamResponse
source · pub struct StreamResponse<T: Response> {
pub request_id: String,
pub count: u32,
pub response: T,
}Expand description
Subsequent messages requested by StreamRequestResponse. The server will
continuously send this message to the client
Fields§
§request_id: String§count: u32§response: TAuto Trait Implementations§
impl<T> RefUnwindSafe for StreamResponse<T>where T: RefUnwindSafe,
impl<T> Send for StreamResponse<T>where T: Send,
impl<T> Sync for StreamResponse<T>where T: Sync,
impl<T> Unpin for StreamResponse<T>where T: Unpin,
impl<T> UnwindSafe for StreamResponse<T>where T: 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.