opentitanlib/rescue/
mod.rs

1// Copyright lowRISC contributors (OpenTitan project).
2// Licensed under the Apache License, Version 2.0, see LICENSE for details.
3// SPDX-License-Identifier: Apache-2.0
4
5use thiserror::Error;
6
7pub mod serial;
8pub mod xmodem;
9
10#[derive(Debug, Error)]
11pub enum RescueError {
12    #[error("bad mode: {0}")]
13    BadMode(String),
14}