usesuper::NodeIndex;usecrate::path::Path;/// An enum of errors that can occur when interacting with proof.
#[derive(Debug, PartialEq)]pubenumError{// Invalid path element
InvalidPath(Path),// The path accesses an unintialized element
IndexOutOfBounds(u64),// Missing chunk
ChunkNotLoaded(NodeIndex),// Path provided was empty
EmptyPath(),}pubtypeResult<T>=std::result::Result<T, Error>;