Add impl Send for AsioStream

This commit is contained in:
mitchmindtree 2019-06-29 02:59:37 +10:00
parent 0f510a9512
commit b6181d4362
1 changed files with 2 additions and 0 deletions

View File

@ -612,6 +612,8 @@ impl Drop for Driver {
}
}
unsafe impl Send for AsioStream {}
/// Adds a callback to the list of active callbacks
pub fn set_callback<F: 'static>(callback: F) -> ()
where