pub struct Item<T> {
pub path: PathBuf,
pub event: Result<T, Error>,
}Expand description
An item returned by scanner streams
Fields§
§path: PathBufThe path of the item
event: Result<T, Error>The event relating to the item
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Item<T>where
T: Freeze,
impl<T> !RefUnwindSafe for Item<T>
impl<T> Send for Item<T>where
T: Send,
impl<T> Sync for Item<T>where
T: Sync,
impl<T> Unpin for Item<T>where
T: Unpin,
impl<T> !UnwindSafe for Item<T>
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