pub struct SyncServerConfig {
pub addr: SocketAddr,
pub watch_path: PathBuf,
pub debounce_ms: u64,
pub extensions: Vec<String>,
}Expand description
Configuration for the real-time server.
Fields§
§addr: SocketAddrAddress to bind the WebSocket server.
watch_path: PathBufRoot path to watch for file changes.
debounce_ms: u64Debounce duration for file events.
extensions: Vec<String>File extensions to watch.
Trait Implementations§
Source§impl Clone for SyncServerConfig
impl Clone for SyncServerConfig
Source§fn clone(&self) -> SyncServerConfig
fn clone(&self) -> SyncServerConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SyncServerConfig
impl Debug for SyncServerConfig
Auto Trait Implementations§
impl Freeze for SyncServerConfig
impl RefUnwindSafe for SyncServerConfig
impl Send for SyncServerConfig
impl Sync for SyncServerConfig
impl Unpin for SyncServerConfig
impl UnsafeUnpin for SyncServerConfig
impl UnwindSafe for SyncServerConfig
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