pub struct EventStreamResponse(pub Event);Expand description
A Sandstorm event stream message.
Tuple Fields§
§0: EventThe new event sent by the server.
Implementations§
Source§impl EventStreamResponse
impl EventStreamResponse
pub fn as_ref(&self) -> EventStreamResponseRef<'_>
Trait Implementations§
Source§impl ByteRead for EventStreamResponse
impl ByteRead for EventStreamResponse
Auto Trait Implementations§
impl Freeze for EventStreamResponse
impl !RefUnwindSafe for EventStreamResponse
impl Send for EventStreamResponse
impl Sync for EventStreamResponse
impl Unpin for EventStreamResponse
impl !UnwindSafe for EventStreamResponse
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