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§
Trait Implementations§
Source§impl From<Entry<HttpStoreFile, HttpStoreDirectory>> for AnyStoreEntry
impl From<Entry<HttpStoreFile, HttpStoreDirectory>> for AnyStoreEntry
Source§fn from(value: HttpStoreEntry) -> Self
fn from(value: HttpStoreEntry) -> Self
Converts to this type from the input type.
Source§impl From<Entry<LocalStoreFile, LocalStoreDirectory>> for AnyStoreEntry
impl From<Entry<LocalStoreFile, LocalStoreDirectory>> for AnyStoreEntry
Source§fn from(value: LocalStoreEntry) -> Self
fn from(value: LocalStoreEntry) -> Self
Converts to this type from the input type.
Source§impl From<Entry<NoopStoreFile, NoopStoreDirectory>> for AnyStoreEntry
impl From<Entry<NoopStoreFile, NoopStoreDirectory>> for AnyStoreEntry
Source§fn from(value: NoopStoreEntry) -> Self
fn from(value: NoopStoreEntry) -> Self
Converts to this type from the input type.
Source§impl From<Entry<PCloudStoreFile, PCloudStoreDirectory>> for AnyStoreEntry
impl From<Entry<PCloudStoreFile, PCloudStoreDirectory>> for AnyStoreEntry
Source§fn from(value: PCloudStoreEntry) -> Self
fn from(value: PCloudStoreEntry) -> Self
Converts to this type from the input type.