pub struct Internal {
pub bitswap: Option<InternalBitswap>,
pub unixfs_sharding_size_threshold: Option<OptionalString>,
pub libp2p_force_pnet: Option<Flag>,
pub backoff_init: Option<OptionalDuration>,
pub backoff_max: Option<OptionalDuration>,
}Expand description
Internal settings
Fields§
§bitswap: Option<InternalBitswap>§unixfs_sharding_size_threshold: Option<OptionalString>§libp2p_force_pnet: Option<Flag>§backoff_init: Option<OptionalDuration>§backoff_max: Option<OptionalDuration>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Internal
impl<'de> Deserialize<'de> for Internal
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Internal
impl RefUnwindSafe for Internal
impl Send for Internal
impl Sync for Internal
impl Unpin for Internal
impl UnwindSafe for Internal
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