pub fn new(writer: T) -> Self {
        SyncWriteAdapter {
            writer: Arc::new(Mutex::new(writer)),
        }
    }
/// Create a new SyncWriteAdapter which wraps the given Write implementor.
Create a new SyncWriteAdapter which wraps the given Write implementor.
Create a new SyncWriteAdapter which wraps the given Write implementor .
pub fn new(writer: T) -> Self {
        SyncWriteAdapter {
            writer: Arc::new(Mutex::new(writer)),
        }
    }
pub fn new ( writer : T ) -> Self { SyncWriteAdapter { writer : Arc :: new ( Mutex :: new ( writer ) ) , } }
Create a new SyncWriteAdapter which wraps the given Write implementor.
Create a new SyncWriteAdapter which wraps the given Write implementor .
writer
T
writer
T