Struct wick_packet::OutgoingPort
source · pub struct OutgoingPort<T> { /* private fields */ }
Implementations§
source§impl<T> OutgoingPort<T>where
T: Serialize,
impl<T> OutgoingPort<T>where T: Serialize,
pub fn new<K: Into<String>>( name: K, channel: FluxChannel<RawPayload, PayloadError> ) -> Self
Trait Implementations§
source§impl<T> Debug for OutgoingPort<T>
impl<T> Debug for OutgoingPort<T>
source§impl<T> Port for OutgoingPort<T>where
T: Serialize + ConditionallySend,
impl<T> Port for OutgoingPort<T>where T: Serialize + ConditionallySend,
fn send_packet(&mut self, value: Packet)
fn name(&self) -> &str
fn send_raw_payload(&mut self, value: PacketPayload)
fn open_bracket(&mut self)
fn close_bracket(&mut self)
fn done(&mut self)
fn error(&mut self, err: &str)
source§impl<T> ValuePort<&T> for OutgoingPort<T>where
T: Serialize + ConditionallySend,
impl<T> ValuePort<&T> for OutgoingPort<T>where T: Serialize + ConditionallySend,
source§impl<T> ValuePort<T> for OutgoingPort<T>where
T: Serialize + ConditionallySend,
impl<T> ValuePort<T> for OutgoingPort<T>where T: Serialize + ConditionallySend,
Auto Trait Implementations§
impl<T> !RefUnwindSafe for OutgoingPort<T>
impl<T> Send for OutgoingPort<T>where T: Send,
impl<T> Sync for OutgoingPort<T>where T: Sync,
impl<T> Unpin for OutgoingPort<T>where T: Unpin,
impl<T> !UnwindSafe for OutgoingPort<T>
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