Struct conserve::Apath [] [src]

pub struct Apath(_);

An ordered archive path.

The ordering groups all the direct parents of a directory together, followed by all the subdirectories.

Equal strings are equivalent to equal apaths, but the ordering is not the same as string ordering.

Methods

impl Apath
[src]

[src]

[src]

[src]

True if this string is a well-formed apath.

Rust strings are by contract always valid UTF-8, so to meet that requirement for apaths it's enough to use a checked conversion from bytes or an OSString.

Trait Implementations

impl Clone for Apath
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Apath
[src]

[src]

Formats the value using the given formatter.

impl Eq for Apath
[src]

impl PartialEq for Apath
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Display for Apath
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq<str> for Apath
[src]

Compare for equality an Apath to a str.

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Ord for Apath
[src]

Compare two apaths.

The ordering is not the same as a simple string comparison, although equal strings imply equal apaths.

[src]

This method returns an Ordering between self and other. Read more

1.22.0
[src]

Compares and returns the maximum of two values. Read more

1.22.0
[src]

Compares and returns the minimum of two values. Read more

impl PartialOrd for Apath
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

1.0.0
[src]

This method tests less than (for self and other) and is used by the < operator. Read more

1.0.0
[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

1.0.0
[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

1.0.0
[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more