Sign in
apache
/
iggy
/
refs/heads/zero-copy-no-batching
/
.
/
sdk
/
src
/
utils
/
sizeable.rs
blob: dd093fbf0f476d314ac1afc164c589ae818ab526 [
file
]
use
super
::
byte_size
::
IggyByteSize
;
/// Trait for types that return their size in bytes.
pub
trait
Sizeable
{
fn
get_size_bytes
(&
self
)
->
IggyByteSize
;
}