pub(crate) enum OwnedBuf {
Vec(Vec<u8>),
Bytes(Bytes),
}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for OwnedBuf
impl RefUnwindSafe for OwnedBuf
impl Send for OwnedBuf
impl Sync for OwnedBuf
impl Unpin for OwnedBuf
impl UnwindSafe for OwnedBuf
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