pub struct DebPlugin;Expand description
Native deb plugin. name/version/arch + the raw control stanza come from
the control tarball when the .deb is parseable, else (name, version, arch)
from the filename (no control stanza).
Trait Implementations§
Source§impl ArchiveTypePlugin for DebPlugin
impl ArchiveTypePlugin for DebPlugin
Source§fn spec(&self) -> &HandlerSpec
fn spec(&self) -> &HandlerSpec
The handler’s static description.
Source§fn extract_metadata(&self, path: &str, data: &[u8]) -> Option<ExtensionRow>
fn extract_metadata(&self, path: &str, data: &[u8]) -> Option<ExtensionRow>
Per-file extraction. Return None to skip.
Source§fn run_command(&self, cmd: &str, args: &[String]) -> Result<()>
fn run_command(&self, cmd: &str, args: &[String]) -> Result<()>
Dispatch a subcommand. Default: the shared
coords command.Source§fn matches_path(&self, path: &str) -> bool
fn matches_path(&self, path: &str) -> bool
Return true if this plugin wants to handle this file: the spec’s
Claim.
Override it only to make the same decision faster; the register’s tests
hold every handler to spec().claims.Source§fn schema_fields(&self) -> Vec<Field>
fn schema_fields(&self) -> Vec<Field>
The Arrow columns this handler contributes. Default: the spec’s fields.
fn name(&self) -> &str
fn type_id(&self) -> i8
Source§fn meta(&self) -> HandlerMeta
fn meta(&self) -> HandlerMeta
Owned discovery record, derived from the spec.
Auto Trait Implementations§
impl Freeze for DebPlugin
impl RefUnwindSafe for DebPlugin
impl Send for DebPlugin
impl Sync for DebPlugin
impl Unpin for DebPlugin
impl UnsafeUnpin for DebPlugin
impl UnwindSafe for DebPlugin
Blanket Implementations§
impl<T> Allocation for T
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