pub struct Stage2<K: SourceKind> { /* private fields */ }Expand description
Stage 2: pick a matcher. Positional only allowed on Seek.
Implementations§
Source§impl<K: SourceKind> Stage2<K>
impl<K: SourceKind> Stage2<K>
pub fn with_matcher(self, matcher: Box<dyn Matcher>) -> Stage3<K>
Source§impl Stage2<Seek>
impl Stage2<Seek>
Sourcepub fn with_position_matcher(self, matcher: PositionMatcher) -> Stage3<Seek>
pub fn with_position_matcher(self, matcher: PositionMatcher) -> Stage3<Seek>
Positional matcher — only available on seekable sources.
Auto Trait Implementations§
impl<K> Freeze for Stage2<K>
impl<K> !RefUnwindSafe for Stage2<K>
impl<K> !Send for Stage2<K>
impl<K> !Sync for Stage2<K>
impl<K> Unpin for Stage2<K>where
K: Unpin,
impl<K> UnsafeUnpin for Stage2<K>
impl<K> !UnwindSafe for Stage2<K>
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