pub struct FragmentSupport {
pub ext: &'static str,
pub scan: FragmentScanner,
}Expand description
What a step kind needs to own a fragment file format: the extension that identifies one and the parser that reads it. Source discovery asks the registry for the extension rather than naming a file type itself, so adding an engine never teaches the CLI a new one (ADR-0002).
Fields§
§ext: &'static strFile extension without the dot ("hurl").
scan: FragmentScannerReader for a whole file of that extension.
Trait Implementations§
Source§impl Clone for FragmentSupport
impl Clone for FragmentSupport
Source§fn clone(&self) -> FragmentSupport
fn clone(&self) -> FragmentSupport
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 moreimpl Copy for FragmentSupport
Auto Trait Implementations§
impl Freeze for FragmentSupport
impl RefUnwindSafe for FragmentSupport
impl Send for FragmentSupport
impl Sync for FragmentSupport
impl Unpin for FragmentSupport
impl UnsafeUnpin for FragmentSupport
impl UnwindSafe for FragmentSupport
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