pub struct DurabilityLevelSettings {
pub durability_level: DurabilityLevel,
pub timeout: Option<Duration>,
}Fields§
§durability_level: DurabilityLevel§timeout: Option<Duration>Implementations§
Source§impl DurabilityLevelSettings
impl DurabilityLevelSettings
pub fn new(level: DurabilityLevel) -> Self
pub fn new_with_timeout(level: DurabilityLevel, timeout: Duration) -> Self
Trait Implementations§
Source§impl Clone for DurabilityLevelSettings
impl Clone for DurabilityLevelSettings
Source§fn clone(&self) -> DurabilityLevelSettings
fn clone(&self) -> DurabilityLevelSettings
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 DurabilityLevelSettings
impl Debug for DurabilityLevelSettings
impl Copy for DurabilityLevelSettings
Auto Trait Implementations§
impl Freeze for DurabilityLevelSettings
impl RefUnwindSafe for DurabilityLevelSettings
impl Send for DurabilityLevelSettings
impl Sync for DurabilityLevelSettings
impl Unpin for DurabilityLevelSettings
impl UnsafeUnpin for DurabilityLevelSettings
impl UnwindSafe for DurabilityLevelSettings
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