pub trait SingularFetch: Singular + Fetch {
// Provided methods
fn fetch_checked<'a>(&'a self) -> FailFuture<'a, Self::T>
where Self: Sized + AsExtra<Extra: 'a + Send + Sync + ExtraFor<Self::T>>,
Self::T: 'a + FullHash { ... }
fn try_fetch_local_checked(&self) -> Result<Option<Self::T>>
where Self: Sized + AsExtra<Extra: ExtraFor<Self::T>>,
Self::T: FullHash { ... }
fn fetch_checked_join<'a, E: 'a + Send + Sync + ExtraFor<Self::T>>(
&'a self,
extra: impl 'a + Send + Future<Output = Result<E>>,
) -> FailFuture<'a, Self::T>
where Self: Sized,
Self::T: 'a + FullHash { ... }
}Provided Methods§
fn fetch_checked<'a>(&'a self) -> FailFuture<'a, Self::T>
fn try_fetch_local_checked(&self) -> Result<Option<Self::T>>
fn fetch_checked_join<'a, E: 'a + Send + Sync + ExtraFor<Self::T>>( &'a self, extra: impl 'a + Send + Future<Output = Result<E>>, ) -> FailFuture<'a, Self::T>
Trait Implementations§
impl<T> InlineOutput for dyn SingularFetch<T = T> + '_
Source§impl<T> ListHashes for dyn SingularFetch<T = T> + '_
impl<T> ListHashes for dyn SingularFetch<T = T> + '_
Source§fn list_hashes(&self, f: &mut (impl ?Sized + FnMut(Hash)))
fn list_hashes(&self, f: &mut (impl ?Sized + FnMut(Hash)))
[
Hash]-only part of Topological::traverse.Source§fn point_count(&self) -> usize
fn point_count(&self) -> usize
How many others this object refers to.
Source§fn topology_hash(&self) -> Hash
fn topology_hash(&self) -> Hash
[
Hash] of all [Hash]es the object refers to other objects by.Source§impl<T: Tagged> Tagged for dyn SingularFetch<T = T> + '_
impl<T: Tagged> Tagged for dyn SingularFetch<T = T> + '_
Source§impl<T> ToOutput for dyn SingularFetch<T = T> + '_
impl<T> ToOutput for dyn SingularFetch<T = T> + '_
Source§fn to_output(&self, output: &mut (impl ?Sized + Output))
fn to_output(&self, output: &mut (impl ?Sized + Output))
Provide object’s byte representation to an
Output.Source§fn mangle_hash(&self) -> Hash
fn mangle_hash(&self) -> Hash
“Mangle hash” of the object. This is used to introduce runtime distinction between
data-identical objects similarly to compile-time
Tagged::HASH.Source§fn output<T: FromOutput<Output: Default>>(&self) -> T
fn output<T: FromOutput<Output: Default>>(&self) -> T
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".