Skip to content

Commit

Permalink
Add set_multipath_enabled method to Settings for preview API support
Browse files Browse the repository at this point in the history
  • Loading branch information
masa-koz committed Jan 4, 2025
1 parent 8f9acca commit 62d3d9b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1590,6 +1590,12 @@ impl Settings {
self.other2_flags |= (value as u64) << 5;
self
}
#[cfg(feature = "preview-api")]
pub fn set_multipath_enabled(&mut self, value: bool) -> &mut Settings {
self.is_set_flags |= 1 << 43;
self.other2_flags |= (value as u64) << 6;
self
}
}

impl CredentialConfig {
Expand Down

0 comments on commit 62d3d9b

Please sign in to comment.