Skip to main content

NoBackend

Trait NoBackend 

pub trait NoBackend {
    // Required method
    fn no_backend() -> Self;
}
Expand description

An error a handle method answers when its host has no game behind it (a mod’s test double): what a Result-returning helper refuses with, as None and false are for the others.

Required Methods§

fn no_backend() -> Self

The error for a host without a game.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§