pub struct AppliedSettings {
pub immediate: Vec<&'static str>,
pub restart_required: Vec<&'static str>,
}Expand description
Classification of settings-patch fields into “took effect immediately” versus “requires session restart to apply”.
Returned by SessionHandle::apply_settings_classified. The
restart_required list is surfaced as the X-IronTide-Restart-Pending
response header by the qBt v2 setPreferences handler so clients can
render a “restart to apply” UX affordance (M171 D3.5).
Fields§
§immediate: Vec<&'static str>Settings fields that changed and took effect immediately.
restart_required: Vec<&'static str>Settings fields that changed but require a session restart to activate (sub-actor reconfig, listen-socket rebind, DHT/LSD/PEX startup, encryption-handshake policy, anonymous-mode peer ID, etc.).
Trait Implementations§
Source§impl Clone for AppliedSettings
impl Clone for AppliedSettings
Source§fn clone(&self) -> AppliedSettings
fn clone(&self) -> AppliedSettings
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 moreSource§impl Debug for AppliedSettings
impl Debug for AppliedSettings
Source§impl Default for AppliedSettings
impl Default for AppliedSettings
Source§fn default() -> AppliedSettings
fn default() -> AppliedSettings
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AppliedSettings
impl RefUnwindSafe for AppliedSettings
impl Send for AppliedSettings
impl Sync for AppliedSettings
impl Unpin for AppliedSettings
impl UnsafeUnpin for AppliedSettings
impl UnwindSafe for AppliedSettings
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