pub struct FsStartOptions {
pub persistence: bool,
pub automatic_probes: bool,
pub download_parallelism: Option<u32>,
pub request_parallelism: Option<u32>,
}Expand description
Параметры соединения с FS.
Fields§
§persistence: boolСохранять состояние операций на диск, чтобы продолжить их после
перезапуска приложения; см. Fs::take_restored_operations.
automatic_probes: boolАвтоматически проверять доступность результатов поиска.
download_parallelism: Option<u32>Сколько скачиваний может идти одновременно; None — значение GNUnet
по умолчанию.
request_parallelism: Option<u32>Сколько запросов блоков может идти одновременно; None — значение
GNUnet по умолчанию.
Trait Implementations§
Source§impl Clone for FsStartOptions
impl Clone for FsStartOptions
Source§fn clone(&self) -> FsStartOptions
fn clone(&self) -> FsStartOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FsStartOptions
Source§impl Debug for FsStartOptions
impl Debug for FsStartOptions
Source§impl Default for FsStartOptions
impl Default for FsStartOptions
Source§fn default() -> FsStartOptions
fn default() -> FsStartOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FsStartOptions
impl RefUnwindSafe for FsStartOptions
impl Send for FsStartOptions
impl Sync for FsStartOptions
impl Unpin for FsStartOptions
impl UnsafeUnpin for FsStartOptions
impl UnwindSafe for FsStartOptions
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