pub struct TopicSplitTx<T> { /* private fields */ }Implementations§
Source§impl<T> TopicSplitTx<T>
impl<T> TopicSplitTx<T>
Sourcepub fn find_by_topic(
&mut self,
needle: &Topic,
) -> Option<&mut DoubleBufferTx<T>>
pub fn find_by_topic( &mut self, needle: &Topic, ) -> Option<&mut DoubleBufferTx<T>>
Finds TX by topic
Sourcepub fn add(&mut self, topic: Topic) -> &mut DoubleBufferTx<T>
pub fn add(&mut self, topic: Topic) -> &mut DoubleBufferTx<T>
Add a new input channel and return it
Trait Implementations§
Source§impl<T> Default for TopicSplitTx<T>
impl<T> Default for TopicSplitTx<T>
Source§impl<T: Send + Sync + Clone> TxBundle for TopicSplitTx<T>
impl<T: Send + Sync + Clone> TxBundle for TopicSplitTx<T>
Source§fn channel_count(&self) -> usize
fn channel_count(&self) -> usize
Number of channels
Source§fn outbox_message_count(&self, index: usize) -> usize
fn outbox_message_count(&self, index: usize) -> usize
Number of messages currently available on the i-th endpoint
Source§fn flush_all(&mut self, result: &mut [FlushResult])
fn flush_all(&mut self, result: &mut [FlushResult])
Flushes all endpoints
Source§fn check_connection(&self) -> ConnectionCheck
fn check_connection(&self) -> ConnectionCheck
Connection status of all endpoints in the budle
Source§fn iter_names(&self) -> impl Iterator<Item = &str>
fn iter_names(&self) -> impl Iterator<Item = &str>
Iterate over all channel names
Auto Trait Implementations§
impl<T> Freeze for TopicSplitTx<T>
impl<T> RefUnwindSafe for TopicSplitTx<T>where
T: RefUnwindSafe,
impl<T> Send for TopicSplitTx<T>
impl<T> Sync for TopicSplitTx<T>
impl<T> Unpin for TopicSplitTx<T>where
T: Unpin,
impl<T> UnwindSafe for TopicSplitTx<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more