pub struct BlobSyncConfig {
pub url: String,
pub peer: String,
pub headers: HashMap<String, String>,
pub reconnect_delay_ms: u64,
}Expand description
Blob sync configuration.
Fields§
§url: StringRemote URL to sync with.
peer: StringLocal peer ID.
headers: HashMap<String, String>Additional headers (e.g., cookies).
reconnect_delay_ms: u64Reconnect delay in milliseconds.
Trait Implementations§
Source§impl Clone for BlobSyncConfig
impl Clone for BlobSyncConfig
Source§fn clone(&self) -> BlobSyncConfig
fn clone(&self) -> BlobSyncConfig
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 moreAuto Trait Implementations§
impl Freeze for BlobSyncConfig
impl RefUnwindSafe for BlobSyncConfig
impl Send for BlobSyncConfig
impl Sync for BlobSyncConfig
impl Unpin for BlobSyncConfig
impl UnwindSafe for BlobSyncConfig
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