Struct bundler::BundleFile
source · pub(crate) struct BundleFile<Metadata>where
Metadata: Serialize,{
pub(crate) bundle: Bundle<Metadata>,
pub(crate) file: Bytes,
}
Expand description
A wrapper containing a Bundle
and the serialzied gzipped archive
Fields§
§bundle: Bundle<Metadata>
The bundle on which the archive is based
file: Bytes
The serialized bundle as a gzipped tar archive
Trait Implementations§
Auto Trait Implementations§
impl<Metadata> !Freeze for BundleFile<Metadata>
impl<Metadata> RefUnwindSafe for BundleFile<Metadata>where
Metadata: RefUnwindSafe,
impl<Metadata> Send for BundleFile<Metadata>where
Metadata: Send,
impl<Metadata> Sync for BundleFile<Metadata>where
Metadata: Sync,
impl<Metadata> Unpin for BundleFile<Metadata>where
Metadata: Unpin,
impl<Metadata> UnwindSafe for BundleFile<Metadata>where
Metadata: UnwindSafe,
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
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request