Hacker News new | ask | show | jobs
by iknowstuff 662 days ago

    enum ReceivedINode<T> {
        Existing(ARef<INode<T>)
        New(inode::New<T>)
    }

    fn get(..) -> Result<ReceivedINode<T>>
Calm down with the bikeshedding. It’s just a complex C API and they wanted to convey the semantics concisely.