Added note in documentation about Wrappers not being thread-safe
currently.
This commit is contained in:
parent
b199480025
commit
74528c9d4c
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ use data::kinds::IrcStream;
|
|||
use server::{Server, ServerIterator};
|
||||
|
||||
/// Functionality-providing wrapper for Server.
|
||||
/// Wrappers are currently not thread-safe, and should be created per-thread, as needed.
|
||||
#[experimental]
|
||||
pub struct Wrapper<'a, T> where T: IrcStream {
|
||||
server: &'a (Server<'a, T> + 'a)
|
||||
|
|
Loading…
Reference in a new issue