pub struct SymbolBuffer { /* private fields */ }Expand description
A fixed-size symbol buffer owned by the pool.
Implementations§
Source§impl SymbolBuffer
impl SymbolBuffer
Sourcepub fn as_mut_slice(&mut self) -> &mut [u8] ⓘ
pub fn as_mut_slice(&mut self) -> &mut [u8] ⓘ
Returns a mutable view of the buffer.
Sourcepub fn into_boxed_slice(self) -> Box<[u8]>
pub fn into_boxed_slice(self) -> Box<[u8]>
Consumes the buffer and returns the boxed slice.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SymbolBuffer
impl RefUnwindSafe for SymbolBuffer
impl Send for SymbolBuffer
impl Sync for SymbolBuffer
impl Unpin for SymbolBuffer
impl UnsafeUnpin for SymbolBuffer
impl UnwindSafe for SymbolBuffer
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).