Skip to main content

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 for Shared and Mxe. Provides the .from_arcis(data) method.

Provided Methods§

Source

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

Converts 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".

Implementors§