pub struct PooledBuffer {
pub buffer: Vec<u8>,
/* private fields */
}Expand description
プールされたバッファ
高性能なバッファ管理のためのRAII型。 ドロップ時に自動的にプールに戻される。
Fields§
§buffer: Vec<u8>バッファデータ
Implementations§
Trait Implementations§
Source§impl Drop for PooledBuffer
impl Drop for PooledBuffer
Auto Trait Implementations§
impl !RefUnwindSafe for PooledBuffer
impl !UnwindSafe for PooledBuffer
impl Freeze for PooledBuffer
impl Send for PooledBuffer
impl Sync for PooledBuffer
impl Unpin for PooledBuffer
impl UnsafeUnpin for PooledBuffer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more