pub struct HttpSseEvent(/* private fields */);Implementations§
Source§impl HttpSseEvent
impl HttpSseEvent
pub fn new(data: &str) -> HttpSseEvent
pub fn named(name: &str, data: &str) -> HttpSseEvent
Auto Trait Implementations§
impl Freeze for HttpSseEvent
impl RefUnwindSafe for HttpSseEvent
impl Send for HttpSseEvent
impl Sync for HttpSseEvent
impl Unpin for HttpSseEvent
impl UnwindSafe for HttpSseEvent
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