[][src]Struct jaylink::SwoStream

pub struct SwoStream<'a> { /* fields omitted */ }

A SWO data stream that implements std::io::Read.

This is one way to consume SWO data. The other is to call JayLink::swo_read after SWO capturing has been started.

Reading from this stream will block until some data is captured by the probe.

Implementations

impl<'_> SwoStream<'_>[src]

pub fn did_overrun(&self) -> bool[src]

Returns whether the probe-internal buffer overflowed at some point, and clears the flag.

This indicates that some device data was lost.

Trait Implementations

impl<'a> Debug for SwoStream<'a>[src]

impl<'a> Read for SwoStream<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for SwoStream<'a>

impl<'a> !Send for SwoStream<'a>

impl<'a> !Sync for SwoStream<'a>

impl<'a> Unpin for SwoStream<'a>

impl<'a> !UnwindSafe for SwoStream<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<R> ReadBytesExt for R where
    R: Read + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.