[−][src]Function tox_core::io_tokio::maybe_send_unbounded
pub async fn maybe_send_unbounded<T>(
chan: Option<UnboundedSender<T>>,
value: T
) -> Result<(), SendError>
Sends a message into Option<UnboundedSender<T>>
pub async fn maybe_send_unbounded<T>(
chan: Option<UnboundedSender<T>>,
value: T
) -> Result<(), SendError>
Sends a message into Option<UnboundedSender<T>>