brk_core 0.0.83

The Core (Structs and Errors) of the Bitcoin Research Kit
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use byteview::ByteView;

#[derive(Debug, Clone)]
pub struct Unit;

impl From<ByteView> for Unit {
    fn from(_: ByteView) -> Self {
        Self
    }
}
impl From<Unit> for ByteView {
    fn from(_: Unit) -> Self {
        Self::new(&[])
    }
}