pub struct Host { /* private fields */ }Implementations§
Source§impl Host
impl Host
Sourcepub fn write_event(
&self,
stream_id: String,
values: HashMap<String, String>,
) -> HandlerResult<EventAck>
pub fn write_event( &self, stream_id: String, values: HashMap<String, String>, ) -> HandlerResult<EventAck>
Write an event to the given stream ID
Sourcepub fn query_stream(&self, query: StreamQuery) -> HandlerResult<EventList>
pub fn query_stream(&self, query: StreamQuery) -> HandlerResult<EventList>
Query a stream for the list of events
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Host
impl RefUnwindSafe for Host
impl Send for Host
impl Sync for Host
impl Unpin for Host
impl UnwindSafe for Host
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