pub enum KeepAliveType {
WaitTime(Duration),
WaitError(i32),
}Variants§
Trait Implementations§
Source§impl Clone for KeepAliveType
impl Clone for KeepAliveType
Source§fn clone(&self) -> KeepAliveType
fn clone(&self) -> KeepAliveType
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 KeepAliveType
impl Debug for KeepAliveType
impl Copy for KeepAliveType
Auto Trait Implementations§
impl Freeze for KeepAliveType
impl RefUnwindSafe for KeepAliveType
impl Send for KeepAliveType
impl Sync for KeepAliveType
impl Unpin for KeepAliveType
impl UnwindSafe for KeepAliveType
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