(meta: CommittedMeta)
| 501 | |
| 502 | impl From<CommittedMeta> for segment::Metadata { |
| 503 | fn from(meta: CommittedMeta) -> Self { |
| 504 | let (CommittedMeta::Prefix { metadata, .. } | CommittedMeta::Complete { metadata }) = meta; |
| 505 | metadata |
| 506 | } |
| 507 | } |
| 508 | |
| 509 | /// Extract the most recently written [CommittedMeta] from the commitlog |
nothing calls this directly
no outgoing calls
no test coverage detected