pub struct MessageIo<T: ?Sized> { /* private fields */ }
Implementations
sourceimpl<T: Send + ?Sized> MessageIo<T>
impl<T: Send + ?Sized> MessageIo<T>
pub fn input_name_to_id(&self, name: &str) -> Option<usize>
pub fn input(&self, id: usize) -> &MessageInput<T>
pub fn outputs(&self) -> &Vec<MessageOutput>
pub fn outputs_mut(&mut self) -> &mut Vec<MessageOutput>
pub fn output(&self, id: usize) -> &MessageOutput
pub fn output_mut(&mut self, id: usize) -> &mut MessageOutput
pub fn output_name_to_id(&self, name: &str) -> Option<usize>
pub async fn post(&mut self, id: usize, p: Pmt)
Auto Trait Implementations
impl<T> !RefUnwindSafe for MessageIo<T>
impl<T: ?Sized> Send for MessageIo<T>
impl<T: ?Sized> Sync for MessageIo<T>
impl<T: ?Sized> Unpin for MessageIo<T>
impl<T> !UnwindSafe for MessageIo<T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more