pub trait IoContext {
    type T;

    // Required method
    fn io_context(
        self,
        context: impl FnOnce() -> String
    ) -> Result<Self::T, NodeMaintainerError>;
}

Required Associated Types§

source

type T

Required Methods§

source

fn io_context( self, context: impl FnOnce() -> String ) -> Result<Self::T, NodeMaintainerError>

Implementations on Foreign Types§

source§

impl<T> IoContext for Result<T, Error>

§

type T = T

source§

fn io_context( self, context: impl FnOnce() -> String ) -> Result<Self::T, NodeMaintainerError>

Implementors§