Trait probe_rs::rtt::RttChannel

source ·
pub trait RttChannel {
    fn number(&self) -> usize;
    fn name(&self) -> Option<&str>;
    fn buffer_size(&self) -> usize;
}
Expand description

Trait for channel information shared between up and down channels.

Required Methods§

Returns the number of the channel.

Returns the name of the channel or None if there is none.

Returns the buffer size in bytes. Note that the usable size is one byte less due to how the ring buffer is implemented.

Implementors§