pub struct DiffDetector { /* private fields */ }Expand description
差异检测器
Implementations§
Source§impl DiffDetector
impl DiffDetector
pub fn new(options: DiffOptions) -> Self
pub async fn detect_changes( &mut self, source_files: &[FileMetadata], target_files: &[FileMetadata], ) -> Result<DiffResult>
Auto Trait Implementations§
impl Freeze for DiffDetector
impl RefUnwindSafe for DiffDetector
impl Send for DiffDetector
impl Sync for DiffDetector
impl Unpin for DiffDetector
impl UnwindSafe for DiffDetector
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