simdata: add an error code for not enough space while writing
This commit is contained in:
@@ -20,7 +20,8 @@ pub enum SimDataError<E> {
|
|||||||
EndOfStream,
|
EndOfStream,
|
||||||
UnsupportedStreamType(ExtMeta),
|
UnsupportedStreamType(ExtMeta),
|
||||||
EventHeaderMissing,
|
EventHeaderMissing,
|
||||||
PartitionNotFound
|
PartitionNotFound,
|
||||||
|
NotEnoughSpace
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<E> From<E> for SimDataError<E> {
|
impl<E> From<E> for SimDataError<E> {
|
||||||
|
|||||||
Reference in New Issue
Block a user