pub struct ElectLeadersOptions { /* private fields */ }Expand description
Options for Admin::elect_leaders.
Implementations§
Source§impl ElectLeadersOptions
impl ElectLeadersOptions
Sourcepub fn set_timeout_ms(self, timeout_ms: Option<i32>) -> Self
pub fn set_timeout_ms(self, timeout_ms: Option<i32>) -> Self
Sourcepub fn timeout_ms(&self) -> Option<i32>
pub fn timeout_ms(&self) -> Option<i32>
Returns the timeout in milliseconds for this operation, or None if the
default API timeout for the AdminClient should be used.
Trait Implementations§
Source§impl Clone for ElectLeadersOptions
impl Clone for ElectLeadersOptions
Source§impl Debug for ElectLeadersOptions
impl Debug for ElectLeadersOptions
Auto Trait Implementations§
impl Freeze for ElectLeadersOptions
impl RefUnwindSafe for ElectLeadersOptions
impl Send for ElectLeadersOptions
impl Sync for ElectLeadersOptions
impl Unpin for ElectLeadersOptions
impl UnsafeUnpin for ElectLeadersOptions
impl UnwindSafe for ElectLeadersOptions
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