pub struct RPMPackageMetadata {
pub lead: Lead,
pub signature: Header<IndexSignatureTag>,
pub header: Header<IndexTag>,
}Fields§
§lead: Lead§signature: Header<IndexSignatureTag>§header: Header<IndexTag>Implementations§
Source§impl RPMPackageMetadata
impl RPMPackageMetadata
pub async fn parse_async<T: AsyncRead + Unpin>( input: &mut T, ) -> Result<Self, RPMError>
pub async fn write_async<W: AsyncWrite + Unpin>( &self, out: &mut W, ) -> Result<(), RPMError>
Trait Implementations§
Source§impl Debug for RPMPackageMetadata
impl Debug for RPMPackageMetadata
Source§impl PartialEq for RPMPackageMetadata
impl PartialEq for RPMPackageMetadata
impl StructuralPartialEq for RPMPackageMetadata
Auto Trait Implementations§
impl Freeze for RPMPackageMetadata
impl RefUnwindSafe for RPMPackageMetadata
impl Send for RPMPackageMetadata
impl Sync for RPMPackageMetadata
impl Unpin for RPMPackageMetadata
impl UnwindSafe for RPMPackageMetadata
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more