jax-daemon 0.1.17

End-to-end encrypted storage buckets with peer-to-peer synchronization
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Sync event types for FUSE cache invalidation
//!
//! These events are emitted by the sync worker when bucket state changes,
//! allowing FUSE filesystems to invalidate their caches.

use uuid::Uuid;

/// Events emitted by the sync engine for FUSE integration
#[derive(Debug, Clone)]
pub enum SyncEvent {
    /// A bucket's state has been updated (new manifest synced)
    BucketUpdated { bucket_id: Uuid },

    /// A specific mount should invalidate its cache
    MountInvalidated { mount_id: Uuid },
}