pub trait Bucket: Sized {
type Timestamp: BucketTimestamp;
// Required method
fn split(self, timestamp: &Self::Timestamp, fuel: &mut i64) -> (Self, Self);
}Expand description
A type that can be split into two parts based on a timestamp.
Required Associated Types§
Sourcetype Timestamp: BucketTimestamp
type Timestamp: BucketTimestamp
The timestamp type associated with this storage.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".