Cipher

Trait Cipher 

Source
pub trait Cipher: ArcisType {
    // Provided method
    fn from_arcis<T: ArcisType>(self, data: T) -> Enc<Self, T>
       where Self: Sized { ... }
}
Expand description

Trait of Shared and Mxe. Gives access to .from_arcis(data).

Provided Methods§

Source

fn from_arcis<T: ArcisType>(self, data: T) -> Enc<Self, T>
where Self: Sized,

Encodes data into an Enc<Self, T>.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§