pub enum Data<'a> {
Path(&'a Path),
Bytes(&'a Bytes),
}Expand description
A staged bundle’s bytes: a spool file, or bytes in hand.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for Data<'a>
impl<'a> Freeze for Data<'a>
impl<'a> Move for Data<'a>
impl<'a> RefUnwindSafe for Data<'a>
impl<'a> Send for Data<'a>
impl<'a> Sync for Data<'a>
impl<'a> Unpin for Data<'a>
impl<'a> UnsafeUnpin for Data<'a>
impl<'a> UnwindSafe for Data<'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