pub enum CaptureKind {
Raw,
Text,
}Expand description
What a capture keeps.
Variants§
Raw
Everything the BBS sent, ANSI codes and all (.ans), to view later.
Text
Only the text, as UTF-8 (.txt): a log to read or search.
Implementations§
Source§impl CaptureKind
impl CaptureKind
pub fn for_path(path: &Path) -> CaptureKind
Trait Implementations§
Source§impl Clone for CaptureKind
impl Clone for CaptureKind
impl Copy for CaptureKind
Source§impl Debug for CaptureKind
impl Debug for CaptureKind
impl Eq for CaptureKind
Source§impl PartialEq for CaptureKind
impl PartialEq for CaptureKind
impl StructuralPartialEq for CaptureKind
Auto Trait Implementations§
impl Freeze for CaptureKind
impl RefUnwindSafe for CaptureKind
impl Send for CaptureKind
impl Sync for CaptureKind
impl Unpin for CaptureKind
impl UnsafeUnpin for CaptureKind
impl UnwindSafe for CaptureKind
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