Retryable

Trait Retryable 

Source
pub trait Retryable:
    EventContainer
    + DeserializeOwned
    + Serialize {
    // Required method
    fn size_bytes(&self) -> u64;
}
Expand description

A value that can be retried.

Required Methods§

Source

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.

Implementations on Foreign Types§

Source§

impl Retryable for String

Source§

fn size_bytes(&self) -> u64

Implementors§