pub enum Timeout {
After(Duration),
Never,
}
Expand description
Specifies a timeout for a Kafka operation.
Variants§
Trait Implementations§
Source§impl Ord for Timeout
impl Ord for Timeout
Source§impl PartialOrd for Timeout
impl PartialOrd for Timeout
Source§impl SubAssign for Timeout
impl SubAssign for Timeout
Source§fn sub_assign(&mut self, other: Self)
fn sub_assign(&mut self, other: Self)
Performs the
-=
operation. Read moreimpl Copy for Timeout
impl Eq for Timeout
impl StructuralPartialEq for Timeout
Auto Trait Implementations§
impl Freeze for Timeout
impl RefUnwindSafe for Timeout
impl Send for Timeout
impl Sync for Timeout
impl Unpin for Timeout
impl UnwindSafe for Timeout
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