pub struct ListOffsetsOptions { /* private fields */ }Expand description
Options for Admin::list_offsets.
Implementations§
Source§impl ListOffsetsOptions
impl ListOffsetsOptions
Sourcepub fn with_isolation_level(isolation_level: IsolationLevel) -> Self
pub fn with_isolation_level(isolation_level: IsolationLevel) -> Self
Creates options with the given isolation level.
§Arguments
isolation_level- the isolation level of the offsets to list.
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.
Sourcepub fn isolation_level(&self) -> IsolationLevel
pub fn isolation_level(&self) -> IsolationLevel
Returns the isolation level for this operation.
Trait Implementations§
Source§impl Clone for ListOffsetsOptions
impl Clone for ListOffsetsOptions
Source§fn clone(&self) -> ListOffsetsOptions
fn clone(&self) -> ListOffsetsOptions
Returns a duplicate of the value. Read more
1.0.0 · 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 ListOffsetsOptions
impl Debug for ListOffsetsOptions
Auto Trait Implementations§
impl Freeze for ListOffsetsOptions
impl RefUnwindSafe for ListOffsetsOptions
impl Send for ListOffsetsOptions
impl Sync for ListOffsetsOptions
impl Unpin for ListOffsetsOptions
impl UnsafeUnpin for ListOffsetsOptions
impl UnwindSafe for ListOffsetsOptions
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