pub struct IngestObject<'a> {
pub kind: ObjectKind,
pub bytes: &'a [u8],
}Expand description
One pushed ingest object: its classified kind (from crate::ingest::classify)
plus the raw body bytes. The session never re-parses paths.
Fields§
§kind: ObjectKindClassified object kind.
bytes: &'a [u8]Raw body bytes.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for IngestObject<'a>
impl<'a> Freeze for IngestObject<'a>
impl<'a> Move for IngestObject<'a>
impl<'a> RefUnwindSafe for IngestObject<'a>
impl<'a> Send for IngestObject<'a>
impl<'a> Sync for IngestObject<'a>
impl<'a> Unpin for IngestObject<'a>
impl<'a> UnsafeUnpin for IngestObject<'a>
impl<'a> UnwindSafe for IngestObject<'a>
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