Enum rtt_target::ChannelMode [−][src]
#[repr(usize)] pub enum ChannelMode { NoBlockSkip, NoBlockTrim, BlockIfFull, }
Specifies what to do when a channel doesn’t have enough buffer space for a complete write.
Variants
Skip writing the data completely if it doesn’t fit in its entirety.
Write as much as possible of the data and ignore the rest.
Block (spin) if the buffer is full. If within a critical section such as inside
rprintln
, this will cause the application to freeze until the host reads from the
buffer.
Trait Implementations
impl Eq for ChannelMode
[src]
impl Eq for ChannelMode
[src]impl PartialEq<ChannelMode> for ChannelMode
[src]
impl PartialEq<ChannelMode> for ChannelMode
[src]fn eq(&self, other: &ChannelMode) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ne(&self, other: &Rhs) -> boolimpl StructuralEq for ChannelMode
[src]
impl StructuralEq for ChannelMode
[src]impl StructuralPartialEq for ChannelMode
[src]
impl StructuralPartialEq for ChannelMode
[src]