Skip to main content

ActionContext

Trait ActionContext 

Source
pub trait ActionContext<T> {
    // Required method
    fn with_action(self, action: ApiAction) -> Result<T, SteamUserError>;
}
Expand description

Extension trait to attach ApiAction context to errors.

Required Methods§

Implementations on Foreign Types§

Source§

impl<T, E> ActionContext<T> for Result<T, E>
where SteamUserError: From<E>,

Implementors§