Type Alias AnyStoreEntry

Source
pub type AnyStoreEntry = Entry<AnyStoreFile, AnyStoreDirectory>;
Expand description

Type alias for entries in the store, which can be files or directories.

Aliased Type§

enum AnyStoreEntry {
    File(AnyStoreFile),
    Directory(AnyStoreDirectory),
}

Variants§

§

File(AnyStoreFile)

A file entry.

§

Directory(AnyStoreDirectory)

A directory entry.

Trait Implementations§

Source§

impl From<Entry<HttpStoreFile, HttpStoreDirectory>> for AnyStoreEntry

Source§

fn from(value: HttpStoreEntry) -> Self

Converts to this type from the input type.
Source§

impl From<Entry<LocalStoreFile, LocalStoreDirectory>> for AnyStoreEntry

Source§

fn from(value: LocalStoreEntry) -> Self

Converts to this type from the input type.
Source§

impl From<Entry<NoopStoreFile, NoopStoreDirectory>> for AnyStoreEntry

Source§

fn from(value: NoopStoreEntry) -> Self

Converts to this type from the input type.
Source§

impl From<Entry<PCloudStoreFile, PCloudStoreDirectory>> for AnyStoreEntry

Source§

fn from(value: PCloudStoreEntry) -> Self

Converts to this type from the input type.