MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / is_io

Method is_io

atomic-core/src/change/format_v3/error.rs:258–260  ·  view source on GitHub ↗

Returns `true` if this is an I/O error.

(&self)

Source from the content-addressed store, hash-verified

256impl FormatError {
257 /// Returns `true` if this is an I/O error.
258 pub fn is_io(&self) -> bool {
259 matches!(self, FormatError::Io(_))
260 }
261
262 /// Returns `true` if this is a serialization (postcard) error.
263 pub fn is_serialization(&self) -> bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected