pub enum SourceKeyword {
Source,
NoExtract,
B2sums,
Md5sums,
Sha1sums,
Sha224sums,
Sha256sums,
Sha384sums,
Sha512sums,
}
Expand description
Package source keywords that are exclusive to the pkgbase
section in SRCINFO data.
Variants§
Implementations§
Source§impl SourceKeyword
impl SourceKeyword
Sourcepub fn parser(input: &mut &str) -> ModalResult<SourceKeyword>
pub fn parser(input: &mut &str) -> ModalResult<SourceKeyword>
Parse a SourceKeyword
.
Trait Implementations§
Source§impl Debug for SourceKeyword
impl Debug for SourceKeyword
Source§impl FromStr for SourceKeyword
impl FromStr for SourceKeyword
Source§impl TryFrom<&str> for SourceKeyword
impl TryFrom<&str> for SourceKeyword
Auto Trait Implementations§
impl Freeze for SourceKeyword
impl RefUnwindSafe for SourceKeyword
impl Send for SourceKeyword
impl Sync for SourceKeyword
impl Unpin for SourceKeyword
impl UnwindSafe for SourceKeyword
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