pub enum WarcRecordKind {
WarcInfo,
Response,
Request,
Metadata,
Revisit,
Conversion,
Continuation,
Resource,
Unknown,
}Expand description
WARC record kind labels.
Variants§
WarcInfo
warcinfo record.
Response
Response record.
Request
Request record.
Metadata
Metadata record.
Revisit
Revisit record.
Conversion
Conversion record.
Continuation
Continuation record.
Resource
Resource record.
Unknown
Unknown or unsupported record kind.
Implementations§
Trait Implementations§
Source§impl Clone for WarcRecordKind
impl Clone for WarcRecordKind
Source§fn clone(&self) -> WarcRecordKind
fn clone(&self) -> WarcRecordKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WarcRecordKind
impl Debug for WarcRecordKind
Source§impl Default for WarcRecordKind
impl Default for WarcRecordKind
Source§fn default() -> WarcRecordKind
fn default() -> WarcRecordKind
Returns the “default value” for a type. Read more
Source§impl Display for WarcRecordKind
impl Display for WarcRecordKind
Source§impl Hash for WarcRecordKind
impl Hash for WarcRecordKind
Source§impl Ord for WarcRecordKind
impl Ord for WarcRecordKind
Source§fn cmp(&self, other: &WarcRecordKind) -> Ordering
fn cmp(&self, other: &WarcRecordKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WarcRecordKind
impl PartialEq for WarcRecordKind
Source§fn eq(&self, other: &WarcRecordKind) -> bool
fn eq(&self, other: &WarcRecordKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for WarcRecordKind
impl PartialOrd for WarcRecordKind
impl Copy for WarcRecordKind
impl Eq for WarcRecordKind
impl StructuralPartialEq for WarcRecordKind
Auto Trait Implementations§
impl Freeze for WarcRecordKind
impl RefUnwindSafe for WarcRecordKind
impl Send for WarcRecordKind
impl Sync for WarcRecordKind
impl Unpin for WarcRecordKind
impl UnsafeUnpin for WarcRecordKind
impl UnwindSafe for WarcRecordKind
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