pub struct Encrypted<K, T> { /* private fields */ }Implementations§
Source§impl<K: Key, T: Traversible + Clone> Encrypted<K, T>
impl<K: Key, T: Traversible + Clone> Encrypted<K, T>
pub fn as_mut(&mut self) -> EncryptedMut<'_, K, T>
Trait Implementations§
Source§impl<K, T> ListHashes for Encrypted<K, T>
impl<K, T> ListHashes for Encrypted<K, 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 topology_hash(&self) -> Hash
fn topology_hash(&self) -> Hash
[
Hash] of all [Hash]es the object refers to other objects by.Source§fn point_count(&self) -> usize
fn point_count(&self) -> usize
How many others this object refers to.
Source§impl<K: Key, T: Topological + Tagged, Extra: 'static + Send + Sync + Clone + ExtraFor<T>, I: PointInput<Extra: EncryptedExtra<K, Extra = Extra>>> Parse<I> for Encrypted<K, T>
impl<K: Key, T: Topological + Tagged, Extra: 'static + Send + Sync + Clone + ExtraFor<T>, I: PointInput<Extra: EncryptedExtra<K, Extra = Extra>>> Parse<I> for Encrypted<K, T>
Source§impl<K: Key, T: ToOutput> ToOutput for Encrypted<K, T>
impl<K: Key, T: ToOutput> ToOutput for Encrypted<K, 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§impl<K: Key, T: Topological> Topological for Encrypted<K, T>
impl<K: Key, T: Topological> Topological for Encrypted<K, T>
Source§fn traverse(&self, visitor: &mut (impl ?Sized + PointVisitor))
fn traverse(&self, visitor: &mut (impl ?Sized + PointVisitor))
List what objects this one refers to. Read more
Source§fn topology(&self) -> Vec<Arc<dyn Singular>>
fn topology(&self) -> Vec<Arc<dyn Singular>>
Collect references into a dynamically-typed list.
Source§fn byte_node(&self) -> (Vec<u8>, Arc<dyn Resolve>)where
Self: ToOutput,
fn byte_node(&self) -> (Vec<u8>, Arc<dyn Resolve>)where
Self: ToOutput,
Useful in
Resolve::resolve and FetchBytes::fetch_bytes.Source§fn to_resolve(&self) -> Arc<dyn Resolve> ⓘ
fn to_resolve(&self) -> Arc<dyn Resolve> ⓘ
Reconstruct a
Resolve usable for Parse::parseing this object based on references.Auto Trait Implementations§
impl<K, T> !RefUnwindSafe for Encrypted<K, T>
impl<K, T> !UnwindSafe for Encrypted<K, T>
impl<K, T> Freeze for Encrypted<K, T>where
Inner<K, T>: Freeze,
impl<K, T> Send for Encrypted<K, T>where
Inner<K, T>: Send,
impl<K, T> Sync for Encrypted<K, T>where
Inner<K, T>: Sync,
impl<K, T> Unpin for Encrypted<K, T>where
Inner<K, T>: Unpin,
impl<K, T> UnsafeUnpin for Encrypted<K, T>where
Inner<K, T>: UnsafeUnpin,
Blanket Implementations§
Source§impl<T> AsAny for T
impl<T> AsAny for T
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