pub enum TextItem<'req> {
Static(&'static [u8]),
Shared(Shared),
Borrowed(Bytes<Borrowed<'req>>),
Retained(Bytes<Retained>),
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'req> !RefUnwindSafe for TextItem<'req>
impl<'req> !Send for TextItem<'req>
impl<'req> !Sync for TextItem<'req>
impl<'req> !UnwindSafe for TextItem<'req>
impl<'req> Freeze for TextItem<'req>
impl<'req> Unpin for TextItem<'req>
impl<'req> UnsafeUnpin for TextItem<'req>
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