We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9c4f38 commit 8099f74Copy full SHA for 8099f74
src/can.rs
@@ -164,6 +164,9 @@ pub trait Transmitter: Interface {
164
/// and return it. This is to avoid the priority inversion problem.
165
fn transmit(&mut self, frame: &Self::Frame) -> nb::Result<Option<Self::Frame>, Self::Error>;
166
167
+ /// Returns true if there exists a pending transmit matching this filter.
168
+ fn pending_transmit(&self, filter: &Self::Filter) -> bool;
169
+
170
/// Returns true if a call to `transmit(frame)` (and if the interface supports Can-FD)
171
/// `transmit_fd(fd_frame)` would return a `Frame` or `WouldBlock`.
172
fn transmit_buffer_full(&self) -> bool;
0 commit comments