Encrypted

Struct Encrypted 

Source
pub struct Encrypted<K, T> { /* private fields */ }

Implementations§

Source§

impl<K, T: Clone> Encrypted<K, T>

Source

pub fn into_inner(self) -> T

Trait Implementations§

Source§

impl<K: Clone, T> Clone for Encrypted<K, T>

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<K, T> Deref for Encrypted<K, T>

Source§

type Target = T

The resulting type after dereferencing.
Source§

fn deref(&self) -> &Self::Target

Dereferences the value.
Source§

impl<K: Key, T: Object<Extra>, Extra: 'static + Send + Sync + Clone, I: PointInput<Extra = WithKey<K, Extra>>> Parse<I> for Encrypted<K, T>

Source§

fn parse(input: I) -> Result<Self>

Source§

impl<K, T> Tagged for Encrypted<K, T>

Source§

const TAGS: Tags = _

Source§

const HASH: Hash = _

Source§

impl<K: Key, T: ToOutput> ToOutput for Encrypted<K, T>

Source§

fn to_output(&self, output: &mut dyn Output)

Source§

fn data_hash(&self) -> Hash

Source§

fn slice_to_output(slice: &[Self], output: &mut dyn Output)
where Self: Sized,

Source§

fn output<T>(&self) -> T
where T: Output + Default,

Source§

fn vec(&self) -> Vec<u8>

Source§

impl<K: Key, T: Topological> Topological for Encrypted<K, T>

Source§

fn accept_points(&self, visitor: &mut impl PointVisitor)

Source§

fn topology_hash(&self) -> Hash

Source§

fn point_count(&self) -> usize

Source§

fn topology(&self) -> Vec<Arc<dyn Singular>>

Source§

impl<K: Key, T: Object<Extra>, Extra: 'static + Send + Sync + Clone> Object<WithKey<K, Extra>> for Encrypted<K, T>

Auto Trait Implementations§

§

impl<K, T> Freeze for Encrypted<K, T>
where K: Freeze,

§

impl<K, T> !RefUnwindSafe for Encrypted<K, T>

§

impl<K, T> Send for Encrypted<K, T>
where K: Send, T: Sync + Send,

§

impl<K, T> Sync for Encrypted<K, T>
where K: Sync, T: Sync + Send,

§

impl<K, T> Unpin for Encrypted<K, T>
where K: Unpin,

§

impl<K, T> !UnwindSafe for Encrypted<K, T>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> AsAny for T

Source§

fn any_ref(&self) -> &(dyn Any + 'static)
where T: 'static,

Get a shared RTTI reference.
Source§

fn any_mut(&mut self) -> &mut (dyn Any + 'static)
where T: 'static,

Get an exclusive RTTI reference.
Source§

fn any_box(self: Box<T>) -> Box<dyn Any>
where T: 'static,

Get an RTTI Box.
Source§

fn any_arc(self: Arc<T>) -> Arc<dyn Any>
where T: 'static,

Get an RTTI Arc.
Source§

fn any_arc_sync(self: Arc<T>) -> Arc<dyn Any + Send + Sync>
where T: 'static + Send + Sync,

Get an RTTI Arc which is also Send.
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> FullHash for T
where T: ToOutput + Topological + Tagged + ?Sized,

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, Extra> ParseSliceExtra<Extra> for T
where T: for<'a> Parse<Input<'a, Extra>>,

Source§

fn parse_slice_extra( data: &[u8], resolve: &Arc<dyn Resolve>, extra: &Extra, ) -> Result<Self, Error>

Source§

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> Traversible for T
where T: 'static + Send + Sync + FullHash,

Source§

fn to_resolve(&self) -> Arc<dyn Resolve>

Source§

fn point(self) -> Point<Self>
where Self: Clone,

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.