pub struct WireResponse {
pub batch_id: u64,
pub error: Option<String>,
pub items: Vec<Vec<u8>>,
}Expand description
One complete worker response (header + item payloads).
Fields§
§batch_id: u64§error: Option<String>§items: Vec<Vec<u8>>Trait Implementations§
Source§impl Clone for WireResponse
impl Clone for WireResponse
Source§fn clone(&self) -> WireResponse
fn clone(&self) -> WireResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for WireResponse
impl RefUnwindSafe for WireResponse
impl Send for WireResponse
impl Sync for WireResponse
impl Unpin for WireResponse
impl UnsafeUnpin for WireResponse
impl UnwindSafe for WireResponse
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