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§
sourcefn buffer_size(&self) -> usize
fn buffer_size(&self) -> usize
Returns the buffer size in bytes. Note that the usable size is one byte less due to how the ring buffer is implemented.