pub struct EventStream { /* private fields */ }Expand description
Asynchronous stream of events delivered over the GVCP message channel.
Implementations§
Source§impl EventStream
impl EventStream
Sourcepub async fn next(&self) -> Result<Event, GenicamError>
pub async fn next(&self) -> Result<Event, GenicamError>
Receive the next event emitted by the device.
Sourcepub fn local_addr(&self) -> Result<SocketAddr, GenicamError>
pub fn local_addr(&self) -> Result<SocketAddr, GenicamError>
Access the local socket address used by the stream.
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