-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot implement custom History: ReedlineError
is private
#545
Comments
Yes I think there is nothing speaking against that in my view. The trait should be implementation agnostic/tolerant. While we are at it, it might make sense to make it either more general or replace it with a more specific name, as most of reedline just returns |
I just opened a PR for this at #661 |
Looking at the current state of the history system, I think we still have some serious gremlins lurking there. See the unfinished error handling around how we deal with the different capabilities of So I don't want to give any stability promises with regards to the API of the I don't want to discourage you from experimenting with implementing your own |
I'm actually building a shell on top of |
Currently you can't implement your own
History
type as multiple trait functions return aResult<_, ReedlineError>
, butReedlineError
(which comes from the privateresult
module) is not available to use outside of the crate.Would it be possible to make it available publicly?
Thanks!
The text was updated successfully, but these errors were encountered: