[][src]Trait gpgme::edit::Editor

pub trait Editor: UnwindSafe + Send {
    type State: Debug + Default + Eq + Copy + UnwindSafe + Send;
    fn next_state(
        state: Result<Self::State>,
        status: EditInteractionStatus,
        need_response: bool
    ) -> Result<Self::State>;
fn action<W: Write>(&self, state: Self::State, out: W) -> Result<()>; }

Associated Types

Loading content...

Required methods

fn next_state(
    state: Result<Self::State>,
    status: EditInteractionStatus,
    need_response: bool
) -> Result<Self::State>

fn action<W: Write>(&self, state: Self::State, out: W) -> Result<()>

Loading content...

Implementors

Loading content...