diff --git a/openraft/src/network/stream_snapshot.rs b/openraft/src/network/stream_snapshot.rs index 2d6699227..d9b646a66 100644 --- a/openraft/src/network/stream_snapshot.rs +++ b/openraft/src/network/stream_snapshot.rs @@ -20,7 +20,7 @@ pub(crate) trait SnapshotTransport { _streaming: &mut Option>, _req: InstallSnapshotRequest, ) -> Result>, StorageError> { - unimplemented!("receive_snapshot is only implemented with SnapshotData with AsyncRead + AsyncSeek ...") + unimplemented!("receive_snapshot is only implemented with SnapshotData with AsyncWrite + AsyncSeek ...") } }