-
-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add Entity Saving/Reading #638
base: master
Are you sure you want to change the base?
Conversation
} | ||
|
||
/// Used for Saving | ||
pub trait DataToBytes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should be named something more specific
} | ||
|
||
/// Used for Reading | ||
pub trait BytesToData |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should be named something more specific
} | ||
|
||
#[async_trait] | ||
impl ChunkSerializer for AnvilEntityFormat { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We probably want to create a brand new serializer instead of using the chunk serializer. ChunkFileManager
can be probably renamed to FileManager
. Then we can have FileManager<EntitySerializer>
instead of ChunkSerializer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now sure what you mean, Do we want to fully replace ChunkSerializer
?. I mean its pretty different then FileManager
and is a trait
Description
Adds Entity Saving/Reading
Testing
Please follow our Coding Guidelines