Trait qrlew::builder::Ready

source ·
pub trait Ready<Output>: Sized {
    type Error: Error;

    // Required method
    fn try_build(self) -> Result<Output, Self::Error>;

    // Provided method
    fn build(self) -> Output { ... }
}
Expand description

A trait enabling build when a builder is ready

Required Associated Types§

Required Methods§

source

fn try_build(self) -> Result<Output, Self::Error>

Try to build

Provided Methods§

source

fn build(self) -> Output

Build and panic in case of error

Object Safety§

This trait is not object safe.

Implementors§