pub struct RelayErrorSpec {
pub frame_type: RelayErrorType,
pub request: VerifiedRequest,
pub code: String,
pub offending_hop: Option<[u8; 32]>,
pub source_route_partial: Option<Vec<u8>>,
}Expand description
A station’s relay error as it gives it: for a pending verified request, a code from the closed set, the hop that failed, and a routing field outside the signature.
Fields§
§frame_type: RelayErrorType§request: VerifiedRequest§code: String§offending_hop: Option<[u8; 32]>§source_route_partial: Option<Vec<u8>>Trait Implementations§
Source§impl Clone for RelayErrorSpec
impl Clone for RelayErrorSpec
Source§impl Debug for RelayErrorSpec
impl Debug for RelayErrorSpec
Source§impl PartialEq for RelayErrorSpec
impl PartialEq for RelayErrorSpec
impl StructuralPartialEq for RelayErrorSpec
Auto Trait Implementations§
impl Freeze for RelayErrorSpec
impl RefUnwindSafe for RelayErrorSpec
impl Send for RelayErrorSpec
impl Sync for RelayErrorSpec
impl Unpin for RelayErrorSpec
impl UnsafeUnpin for RelayErrorSpec
impl UnwindSafe for RelayErrorSpec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more