pub trait Retryable:
EventContainer
+ DeserializeOwned
+ Serialize {
// Required method
fn size_bytes(&self) -> u64;
}
Expand description
A value that can be retried.
Required Methods§
Sourcefn size_bytes(&self) -> u64
fn size_bytes(&self) -> u64
Returns the in-memory size of this value, in bytes.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.