Enum holochain_zome_types::entry::GetStrategy [−][src]
pub enum GetStrategy {
Latest,
Content,
}
Expand description
Describes the get call and what information the caller is concerned about. This helps the subconscious avoid unnecessary network calls.
Variants
Will try to get the latest metadata but fallback to the cache if none is found. Does not go to the network if you are an authority for the data.
Will try to get the content locally but go to the network if it is not found. Does not go to the network if you are an authority for the data.
Trait Implementations
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 RefUnwindSafe for GetStrategy
impl Send for GetStrategy
impl Sync for GetStrategy
impl Unpin for GetStrategy
impl UnwindSafe for GetStrategy
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more