pub trait ViewShape: Sized + Send {
type Stored: Clone + DeserializeOwned + SurrealValue + Send;
// Required method
fn hydrate_view_shape<'async_trait>(
stored: Self::Stored,
) -> Pin<Box<dyn Future<Output = Result<Self>> + Send + 'async_trait>>
where Self: 'async_trait;
}Expand description
Recursive runtime seam for read-only View container shapes.
Required Associated Types§
Sourcetype Stored: Clone + DeserializeOwned + SurrealValue + Send
type Stored: Clone + DeserializeOwned + SurrealValue + Send
Stored representation for this view shape with RecordId leaves.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".