pub struct EventStream { /* private fields */ }
Implementations§
Source§impl EventStream
impl EventStream
pub fn new(stream: EventStreamProxy) -> Self
pub fn open_at_path_pipelined(path: impl Into<String>) -> Result<Self, Error>
pub async fn open_at_path(path: impl Into<String>) -> Result<Self, Error>
pub async fn open() -> Result<Self, Error>
pub fn open_pipelined() -> Result<Self, Error>
pub async fn next(&mut self) -> Result<Event, EventStreamError>
Auto Trait Implementations§
impl Freeze for EventStream
impl !RefUnwindSafe for EventStream
impl Send for EventStream
impl Sync for EventStream
impl Unpin for EventStream
impl !UnwindSafe for EventStream
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