pub fn copy_from_slice_in<T, U>(src: T, pool: U) -> Self
    where
        T: AsRef<[u8]>,
        PoolRef: From<U>,
    {
        let s = src.as_ref();
        BytesMut {
            inner: Inner::from_slice(s.len(), s, pool.into()),
        }
    }
/// Creates a new `BytesMut` from slice, by copying it.
Creates a new `BytesMut` from slice, by copying it.
Creates a new ` BytesMut ` from slice by copying it .
pub fn copy_from_slice_in<T, U>(src: T, pool: U) -> Self
    where
        T: AsRef<[u8]>,
        PoolRef: From<U>,
    {
        let s = src.as_ref();
        BytesMut {
            inner: Inner::from_slice(s.len(), s, pool.into()),
        }
    }
pub fn copy_from_slice_in < T , U > ( src : T , pool : U ) -> Self where T : AsRef < [ u8 ] > , PoolRef : From < U > , { let s = src . as_ref ( ) ; BytesMut { inner : Inner :: from_slice ( s . len ( ) , s , pool . into ( ) ) , } }
Creates a new `BytesMut` from slice, by copying it.
Creates a new ` BytesMut ` from slice by copying it .
src
T
pool
U
src
T
pool
U