pub enum ReadMemSource {
Local,
Url {
url: String,
},
}Expand description
How the app reconstitutes a read mem’s cache file when missing.
The engine itself never fetches; source is metadata consumed by the
app’s installer. A Registry variant with scope/name identifiers
will be added once the memstead.io registry ships.
Variants§
Local
User dropped an archive file onto the app. App cannot auto-reinstall — it prompts the user to drop the original file again.
Url
Fetched from an HTTPS URL (GitHub Releases, shared drive, any static host). Engine-side no-op; the app’s installer re-fetches on attach.
Trait Implementations§
Source§impl Clone for ReadMemSource
impl Clone for ReadMemSource
Source§fn clone(&self) -> ReadMemSource
fn clone(&self) -> ReadMemSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReadMemSource
impl Debug for ReadMemSource
Source§impl<'de> Deserialize<'de> for ReadMemSource
impl<'de> Deserialize<'de> for ReadMemSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ReadMemSource
impl RefUnwindSafe for ReadMemSource
impl Send for ReadMemSource
impl Sync for ReadMemSource
impl Unpin for ReadMemSource
impl UnsafeUnpin for ReadMemSource
impl UnwindSafe for ReadMemSource
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more