[][src]Enum probe_rs_rtt::ChannelMode

#[repr(u32)]pub enum ChannelMode {
    NoBlockSkip,
    NoBlockTrim,
    BlockIfFull,
}

Specifies what to do when a channel doesn't have enough buffer space for a complete write on the target side.

Variants

NoBlockSkip

Skip writing the data completely if it doesn't fit in its entirety.

NoBlockTrim

Write as much as possible of the data and ignore the rest.

BlockIfFull

Block (spin) if the buffer is full. Note that if the application writes within a critical section, using this mode can cause the application to freeze if the buffer becomes full and is not read by the host.

Trait Implementations

impl Debug for ChannelMode[src]

impl Eq for ChannelMode[src]

impl PartialEq<ChannelMode> for ChannelMode[src]

impl StructuralEq for ChannelMode[src]

impl StructuralPartialEq for ChannelMode[src]

Auto Trait Implementations

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.