Skip to main content

TightBeamError

Enum TightBeamError 

Source
pub enum TightBeamError {
Show 52 variants MatrixError(MatrixError), RouterError(RouterError), BuildError(BuildError), StandardError(StandardError), HiveError(HiveError), WorkerRelay(WorkerRelayError), IoError(Error), LockPoisoned, InvalidOID(Error), SignatureError(Error), EllipticCurveError(Error), SerializationError(Error), CompressionError(CompressionError), HandshakeError(HandshakeError), TransportError(TransportError), UnsupportedVersion(ReceivedExpectedError<Version, Version>), TestingError(TestingError), UrnValidationError(UrnValidationError), EncryptionError(Error), InvalidKeyLength(InvalidLength), EciesError(EciesError), CryptoPolicyError(CryptoPolicyError), CertificateValidationError(CertificateValidationError), KeyDerivationError(KdfError), KeyError(KeyError), OsRngError(Error), SpkiError(Error), X509BuilderError(Error), RecvTimeoutError, SignatureEncodingError, InvalidMetadata, InvalidBody, InvalidOverflowValue, InvalidOrder, MissingOrder, MissingInflator, MissingFeature(&'static str), MissingPriority, MissingResponse, MissingSignature, MissingSignatureInfo, MissingEncryptionInfo, MissingDigestInfo, MissingCompressedData, InvalidAlgorithm, UnexpectedAlgorithm(ReceivedExpectedError<ObjectIdentifier, ObjectIdentifier>), MissingConfiguration, UnsupportedOperation, AlreadyEstablished, JoinError, Sequence(Vec<TightBeamError>), InjectedFault(Box<dyn InjectedError>),
}

Variants§

§

MatrixError(MatrixError)

Error from the matrix implementation

§

RouterError(RouterError)

§

BuildError(BuildError)

Error from the message builder

§

StandardError(StandardError)

StandardError

§

HiveError(HiveError)

§

WorkerRelay(WorkerRelayError)

§

IoError(Error)

I/O error

§

LockPoisoned

Lock poisoned

§

InvalidOID(Error)

Invalid or unsupported algorithm identifier

§

SignatureError(Error)

Error during signature verification or generation

§

EllipticCurveError(Error)

Error from elliptic curve operations

§

SerializationError(Error)

Error during serialization

§

CompressionError(CompressionError)

Error during compression or decompression

§

HandshakeError(HandshakeError)

Error during handshake operations

§

TransportError(TransportError)

§

UnsupportedVersion(ReceivedExpectedError<Version, Version>)

Unsupported protocol version

§

TestingError(TestingError)

Error during testing operations

§

UrnValidationError(UrnValidationError)

Error during URN validation

§

EncryptionError(Error)

Error during encryption or decryption

§

InvalidKeyLength(InvalidLength)

Invalid key length for cryptographic operations

§

EciesError(EciesError)

Error during ECIES operations

§

CryptoPolicyError(CryptoPolicyError)

§

CertificateValidationError(CertificateValidationError)

Error during certificate validation

§

KeyDerivationError(KdfError)

§

KeyError(KeyError)

Error from key provider operations

§

OsRngError(Error)

Error obtaining random bytes from the OS

§

SpkiError(Error)

Error during SPKI operations

§

X509BuilderError(Error)

Error during X.509 certificate building

§

RecvTimeoutError

Error receiving from channel with timeout

§

SignatureEncodingError

Error decoding signature from bytes

§

InvalidMetadata

Invalid metadata

§

InvalidBody

Invalid message body

§

InvalidOverflowValue

Invalid overflow value

§

InvalidOrder

Invalid order

§

MissingOrder

§

MissingInflator

Missing inflator

§

MissingFeature(&'static str)

Missing feature

§

MissingPriority

Missing priority

§

MissingResponse

Missing response

§

MissingSignature

Signature is missing

§

MissingSignatureInfo

Signature info is missing

§

MissingEncryptionInfo

Missing Encryption Info

§

MissingDigestInfo

Missing Integrity Info

§

MissingCompressedData

Missing Compression Info

§

InvalidAlgorithm

Invalid algorithm for the message profile

§

UnexpectedAlgorithm(ReceivedExpectedError<ObjectIdentifier, ObjectIdentifier>)

Unexpected algorithm for the message profile

§

MissingConfiguration

Missing or invalid configuration

§

UnsupportedOperation

Operation not supported by this implementation

§

AlreadyEstablished

Hive already established

§

JoinError

Task join error

§

Sequence(Vec<TightBeamError>)

Multiple errors collected together

§

InjectedFault(Box<dyn InjectedError>)

Injected fault for testing (any error type)

Trait Implementations§

Source§

impl Debug for TightBeamError

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for TightBeamError

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Error for TightBeamError

1.30.0 · Source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
Source§

impl From<AddrParseError> for TightBeamError

Source§

fn from(err: AddrParseError) -> Self

Converts to this type from the input type.
Source§

impl From<BuildError> for TightBeamError

Source§

fn from(err: BuildError) -> Self

Converts to this type from the input type.
Source§

impl From<CertificateValidationError> for TightBeamError

Source§

fn from(err: CertificateValidationError) -> Self

Converts to this type from the input type.
Source§

impl From<CompressionError> for TightBeamError

Source§

fn from(err: CompressionError) -> Self

Converts to this type from the input type.
Source§

impl From<CryptoPolicyError> for TightBeamError

Source§

fn from(err: CryptoPolicyError) -> Self

Converts to this type from the input type.
Source§

impl From<EciesError> for TightBeamError

Source§

fn from(err: EciesError) -> Self

Converts to this type from the input type.
Source§

impl From<Error> for TightBeamError

Source§

fn from(err: Error) -> Self

Converts to this type from the input type.
Source§

impl From<Error> for TightBeamError

Source§

fn from(err: Error) -> Self

Converts to this type from the input type.
Source§

impl From<Error> for TightBeamError

Source§

fn from(err: Error) -> Self

Converts to this type from the input type.
Source§

impl From<Error> for TightBeamError

Source§

fn from(err: Error) -> Self

Converts to this type from the input type.
Source§

impl From<Error> for TightBeamError

Source§

fn from(err: Error) -> Self

Converts to this type from the input type.
Source§

impl From<Error> for TightBeamError

Source§

fn from(err: Error) -> Self

Converts to this type from the input type.
Source§

impl From<Error> for TightBeamError

Source§

fn from(err: Error) -> Self

Converts to this type from the input type.
Source§

impl From<Error> for TightBeamError

Source§

fn from(err: Error) -> Self

Converts to this type from the input type.
Source§

impl From<FromUtf8Error> for TightBeamError

Source§

fn from(err: FromUtf8Error) -> Self

Converts to this type from the input type.
Source§

impl From<HandshakeError> for TightBeamError

Source§

fn from(err: HandshakeError) -> Self

Converts to this type from the input type.
Source§

impl From<HiveError> for TightBeamError

Source§

fn from(err: HiveError) -> Self

Converts to this type from the input type.
Source§

impl From<InvalidLength> for TightBeamError

Source§

fn from(err: InvalidLength) -> Self

Converts to this type from the input type.
Source§

impl From<KdfError> for TightBeamError

Source§

fn from(err: KdfError) -> Self

Converts to this type from the input type.
Source§

impl From<KeyError> for TightBeamError

Source§

fn from(err: KeyError) -> Self

Converts to this type from the input type.
Source§

impl From<MatrixError> for TightBeamError

Source§

fn from(err: MatrixError) -> Self

Converts to this type from the input type.
Source§

impl<T> From<PoisonError<T>> for TightBeamError

Available on crate feature std only.
Source§

fn from(_: PoisonError<T>) -> Self

Converts to this type from the input type.
Source§

impl From<RouterError> for TightBeamError

Source§

fn from(err: RouterError) -> Self

Converts to this type from the input type.
Source§

impl From<StandardError> for TightBeamError

Source§

fn from(err: StandardError) -> Self

Converts to this type from the input type.
Source§

impl From<TestingError> for TightBeamError

Source§

fn from(err: TestingError) -> Self

Converts to this type from the input type.
Source§

impl From<TightBeamError> for BuildError

Source§

fn from(err: TightBeamError) -> Self

Converts to this type from the input type.
Source§

impl From<TightBeamError> for CertificateValidationError

Source§

fn from(err: TightBeamError) -> Self

Converts to this type from the input type.
Source§

impl From<TightBeamError> for ClusterError

Source§

fn from(_: TightBeamError) -> Self

Converts to this type from the input type.
Source§

impl From<TightBeamError> for CompressionError

Source§

fn from(err: TightBeamError) -> Self

Converts to this type from the input type.
Source§

impl From<TightBeamError> for CryptoPolicyError

Source§

fn from(err: TightBeamError) -> Self

Converts to this type from the input type.
Source§

impl From<TightBeamError> for EciesError

Source§

fn from(err: TightBeamError) -> Self

Converts to this type from the input type.
Source§

impl From<TightBeamError> for Error

Source§

fn from(err: TightBeamError) -> Self

Converts to this type from the input type.
Source§

impl From<TightBeamError> for Error

Source§

fn from(err: TightBeamError) -> Self

Converts to this type from the input type.
Source§

impl From<TightBeamError> for Error

Source§

fn from(err: TightBeamError) -> Self

Converts to this type from the input type.
Source§

impl From<TightBeamError> for Error

Source§

fn from(err: TightBeamError) -> Self

Converts to this type from the input type.
Source§

impl From<TightBeamError> for Error

Source§

fn from(err: TightBeamError) -> Self

Converts to this type from the input type.
Source§

impl From<TightBeamError> for Error

Source§

fn from(err: TightBeamError) -> Self

Converts to this type from the input type.
Source§

impl From<TightBeamError> for Error

Source§

fn from(err: TightBeamError) -> Self

Converts to this type from the input type.
Source§

impl From<TightBeamError> for Error

Source§

fn from(err: TightBeamError) -> Self

Converts to this type from the input type.
Source§

impl From<TightBeamError> for HandshakeError

Source§

fn from(err: TightBeamError) -> Self

Converts to this type from the input type.
Source§

impl From<TightBeamError> for HiveError

Source§

fn from(err: TightBeamError) -> Self

Converts to this type from the input type.
Source§

impl From<TightBeamError> for InvalidLength

Source§

fn from(err: TightBeamError) -> Self

Converts to this type from the input type.
Source§

impl From<TightBeamError> for KdfError

Source§

fn from(err: TightBeamError) -> Self

Converts to this type from the input type.
Source§

impl From<TightBeamError> for KeyError

Source§

fn from(err: TightBeamError) -> Self

Converts to this type from the input type.
Source§

impl From<TightBeamError> for MatrixError

Source§

fn from(err: TightBeamError) -> Self

Converts to this type from the input type.
Source§

impl From<TightBeamError> for RouterError

Source§

fn from(err: TightBeamError) -> Self

Converts to this type from the input type.
Source§

impl From<TightBeamError> for StandardError

Source§

fn from(err: TightBeamError) -> Self

Converts to this type from the input type.
Source§

impl From<TightBeamError> for TestingError

Source§

fn from(err: TightBeamError) -> Self

Converts to this type from the input type.
Source§

impl From<TightBeamError> for TransportError

Source§

fn from(err: TightBeamError) -> Self

Converts to this type from the input type.
Source§

impl From<TightBeamError> for UrnValidationError

Source§

fn from(err: TightBeamError) -> Self

Converts to this type from the input type.
Source§

impl From<TightBeamError> for WorkerRelayError

Source§

fn from(err: TightBeamError) -> Self

Converts to this type from the input type.
Source§

impl From<TransportError> for TightBeamError

Source§

fn from(err: TransportError) -> Self

Converts to this type from the input type.
Source§

impl From<UrnValidationError> for TightBeamError

Source§

fn from(err: UrnValidationError) -> Self

Converts to this type from the input type.
Source§

impl From<WorkerRelayError> for TightBeamError

Source§

fn from(err: WorkerRelayError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> InjectedError for T
where T: Debug + Display + Send + Sync,