mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-13 08:36:54 +00:00
Optimization FileReader
This commit is contained in:
@@ -346,7 +346,7 @@ impl Erasure {
|
||||
}
|
||||
|
||||
#[async_trait::async_trait]
|
||||
pub trait Write {
|
||||
pub trait Writer {
|
||||
fn as_any(&self) -> &dyn Any;
|
||||
async fn write(&mut self, buf: &[u8]) -> Result<()>;
|
||||
async fn close(&mut self) -> Result<()> {
|
||||
|
||||
Reference in New Issue
Block a user