-
Notifications
You must be signed in to change notification settings - Fork 140
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
How to create an instance of MapperFlush
?
#295
Comments
It looks like there is no way to create an instance of these types. Fixes: rust-osdev#295
From the
Basically, you are not supposed to be able to create this type. It is returned from functions like: See this example for how the type is used. |
Then, is it not supposed to implement |
@toku-sa-n whoops my bad, I misread your initial comment. Yes I believe external implementations of mapper should be supported, so we do need to add the constructors for this to be possible. Good catch. |
It looks like there is no way to create an instance of these types. Fixes: rust-osdev#295
It looks like there is no way to create an instance of these types. Fixes: rust-osdev#295
It looks like there is no way to create an instance of these types. Fixes: rust-osdev#295
I was trying to implement
Mapper
for my process struct and noticed thatMapperFlush::new
is a private method. Is there a way to create an instance of it?The text was updated successfully, but these errors were encountered: