pub trait Input {
type Output;
// Required method
fn input() -> Self::Output;
}Expand description
Create an input node from an Fhe Program input argument.
Required Associated Types§
Required Methods§
Sourcefn input() -> Self::Output
fn input() -> Self::Output
Creates a new FheProgramNode denoted as an input to an Fhe Program graph.
You should not call this, but rather allow the fhe_program macro to do this on your behalf.
§Undefined behavior
This type references memory in a backing
FheContext and without carefully ensuring FheProgramNodes
never outlive the backing context, use-after-free can occur.
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.