pub struct AsyncFrame {
pub typ: String,
pub stream: Option<String>,
pub base64: Option<String>,
pub exit_code: Option<i64>,
}Expand description
A v2 async STREAM frame delivered to a registered handler.
Fields§
§typ: String§stream: Option<String>§base64: Option<String>§exit_code: Option<i64>Trait Implementations§
Source§impl Clone for AsyncFrame
impl Clone for AsyncFrame
Source§fn clone(&self) -> AsyncFrame
fn clone(&self) -> AsyncFrame
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 AsyncFrame
impl RefUnwindSafe for AsyncFrame
impl Send for AsyncFrame
impl Sync for AsyncFrame
impl Unpin for AsyncFrame
impl UnsafeUnpin for AsyncFrame
impl UnwindSafe for AsyncFrame
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