pub struct RawEvent {
pub source: String,
pub payload: Vec<u8>,
}Expand description
A raw event contains bytes from the emitters.
Fields§
§source: StringA source who triggered an event
payload: Vec<u8>Payload of an event
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RawEvent
impl RefUnwindSafe for RawEvent
impl Send for RawEvent
impl Sync for RawEvent
impl Unpin for RawEvent
impl UnwindSafe for RawEvent
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