Struct debian_packaging::repository::builder::InMemoryDebFile
source · [−]pub struct InMemoryDebFile { /* private fields */ }Expand description
Holds the content of a .deb file in-memory.
Implementations
Trait Implementations
sourceimpl<'cf> DebPackageReference<'cf> for InMemoryDebFile
impl<'cf> DebPackageReference<'cf> for InMemoryDebFile
sourcefn deb_size_bytes(&self) -> Result<u64>
fn deb_size_bytes(&self) -> Result<u64>
Obtain the size in bytes of the .deb file. Read more
sourcefn deb_digest(&self, checksum: ChecksumType) -> Result<ContentDigest>
fn deb_digest(&self, checksum: ChecksumType) -> Result<ContentDigest>
Obtains the binary digest of this file given a checksum flavor. Read more
sourcefn deb_filename(&self) -> Result<String>
fn deb_filename(&self) -> Result<String>
Obtain the filename of this .deb. Read more
sourcefn control_file_for_packages_index(
&self
) -> Result<BinaryPackageControlFile<'cf>>
fn control_file_for_packages_index(
&self
) -> Result<BinaryPackageControlFile<'cf>>
Obtain a BinaryPackageControlFile representing content for a Packages index file. Read more
Auto Trait Implementations
impl RefUnwindSafe for InMemoryDebFile
impl Send for InMemoryDebFile
impl Sync for InMemoryDebFile
impl Unpin for InMemoryDebFile
impl UnwindSafe for InMemoryDebFile
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more