Struct sequoia_ipc::Context [−][src]
pub struct Context { /* fields omitted */ }Expand description
A Context for Sequoia.
Examples
A context with reasonable defaults can be created using
Context::new:
let c = Context::new()?;A context can be configured using the builder pattern with
Context::configure:
let c = Context::configure()
.ipc_policy(IPCPolicy::Robust)
.build()?;Implementations
Creates a Context that can be configured.
The configuration is seeded like in Context::new, but can be
modified. A configuration has to be finalized using
.build() in order to turn it into a Context.
Returns the IPC policy.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Context
impl UnwindSafe for Context
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self