Skip to main content

CuFeedbackTx

Trait CuFeedbackTx 

Source
pub trait CuFeedbackTx:
    Debug
    + Send
    + Sync {
    // Required method
    fn try_send_feedback(
        &mut self,
        packet: &[u8],
    ) -> Result<(), CuStreamTxError>;
}
Expand description

Optional advisory transmit direction; same atomic, bounded, complete-packet integrity contract as CuStreamTx. Acceptance guarantees neither delivery nor ordering. A raw byte stream needs a framing and integrity adapter.

Required Methods§

Source

fn try_send_feedback(&mut self, packet: &[u8]) -> Result<(), CuStreamTxError>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§