pub struct SavepointGuardContract {
pub max_rollback_timeout_us: Option<u32>,
pub max_rollback_latency_us: Option<u32>,
pub lifo_disposers: bool,
pub cleanup_policy: String,
}Fields§
§max_rollback_timeout_us: Option<u32>§max_rollback_latency_us: Option<u32>§lifo_disposers: bool§cleanup_policy: StringImplementations§
Source§impl SavepointGuardContract
impl SavepointGuardContract
pub fn effective_timeout_us(&self) -> Option<u32>
pub fn validate_bound(&self) -> Result<(), &'static str>
Trait Implementations§
Source§impl Clone for SavepointGuardContract
impl Clone for SavepointGuardContract
Source§impl Debug for SavepointGuardContract
impl Debug for SavepointGuardContract
Source§impl<'de> Deserialize<'de> for SavepointGuardContract
impl<'de> Deserialize<'de> for SavepointGuardContract
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SavepointGuardContract
Source§impl PartialEq for SavepointGuardContract
impl PartialEq for SavepointGuardContract
Source§impl Serialize for SavepointGuardContract
impl Serialize for SavepointGuardContract
impl StructuralPartialEq for SavepointGuardContract
Auto Trait Implementations§
impl Forget for SavepointGuardContract
impl Freeze for SavepointGuardContract
impl RefUnwindSafe for SavepointGuardContract
impl Send for SavepointGuardContract
impl Sync for SavepointGuardContract
impl Unpin for SavepointGuardContract
impl UnsafeUnpin for SavepointGuardContract
impl UnwindSafe for SavepointGuardContract
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.