Enum unixfs_v1::dir::builder::TreeBuildingFailed [−][src]
pub enum TreeBuildingFailed {
RootedPath(String),
RepeatSlashesInPath(String),
PathEndsInSlash(String),
TooManyRootLevelEntries,
DuplicatePath(String),
LeafAsDirectory(String),
}Expand description
Tree building failure cases.
Variants
The given full path started with a slash; paths in the /add convention are not rooted.
Tuple Fields of RootedPath
0: StringThe given full path contained an empty segment.
Tuple Fields of RepeatSlashesInPath
0: StringThe given full path ends in slash.
Tuple Fields of PathEndsInSlash
0: StringIf the BufferingTreeBuilder was created without TreeOptions with the option
wrap_with_directory enabled, then there can be only a single element at the root.
The given full path had already been added.
Tuple Fields of DuplicatePath
0: StringThe given full path had already been added as a link to an opaque entry.
Tuple Fields of LeafAsDirectory
0: String