unused PutError accessors

This commit is contained in:
Christian Schwarz
2023-06-05 15:12:24 +02:00
parent 56f57172dd
commit e6a36b5236

View File

@@ -127,15 +127,6 @@ pub enum PutErrorKind {
AlreadyHaveInMemoryRecordForKeyAndLsn,
}
impl<T: Types> PutError<T> {
pub fn delta(&self) -> &T::DeltaRecord {
&self.delta
}
pub fn kind(&self) -> &PutErrorKind {
&self.kind
}
}
impl<T: Types> std::fmt::Debug for PutError<T> {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
f.debug_struct("PutError")