pub struct ChildMessageChannel { /* private fields */ }
Expand description
A serializable type for establishing MessageChannel
s with child processes.
This type should be serialized into some format suitable for inclusion in arguments or environment variables that can be passed to a child process at creation.
Implementations§
Source§impl ChildMessageChannel
impl ChildMessageChannel
pub fn into_channel<T, R>(
self,
tokio_loop: &TokioHandle,
) -> Result<MessageChannel<T, R>>where
T: Serialize,
R: for<'de> Deserialize<'de>,
Trait Implementations§
Source§impl Debug for ChildMessageChannel
impl Debug for ChildMessageChannel
Source§impl<'de> Deserialize<'de> for ChildMessageChannel
impl<'de> Deserialize<'de> for ChildMessageChannel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ChildMessageChannel
impl RefUnwindSafe for ChildMessageChannel
impl Send for ChildMessageChannel
impl Sync for ChildMessageChannel
impl Unpin for ChildMessageChannel
impl UnwindSafe for ChildMessageChannel
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