style: format core with rustfmt

This commit is contained in:
randogoth 2026-09-30 21:46:41 +03:00
parent 447be4b38d
commit 8872ec6c98
12 changed files with 186 additions and 81 deletions

View file

@ -27,7 +27,10 @@ pub enum Error {
/// The host has no pinned server key, so the session cannot be
/// authenticated (sec 4). A GUI routes this to pinning; an auth failure
/// is terminal. The port scopes the pin (address::trust_label).
NotPinned { host: String, port: u16 },
NotPinned {
host: String,
port: u16,
},
/// A pinned server presented a different key (sec 4): a hard abort, the
/// pin is the entire trust model. The port scopes the pin
/// (address::trust_label).
@ -47,10 +50,15 @@ pub enum Error {
/// The store has no account yet; registering or restoring creates one.
NotRegistered,
/// The rotation index would exceed the chain limit (sec 2).
ChainLimit { index: u32 },
ChainLimit {
index: u32,
},
/// The store was written by a schema this build cannot read; a host
/// decides when to migrate, not the library.
SchemaVersion { found: i32, expected: i32 },
SchemaVersion {
found: i32,
expected: i32,
},
/// The server could not be reached at all.
Unreachable {
host: String,