pub enum TightBeamError {
Show 55 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),
SecretUnavailable(SecretError),
OsRngError(Error),
SpkiError(Error),
X509BuilderError(Error),
RecvTimeoutError,
SignatureEncodingError,
InvalidMetadata,
InvalidBody,
InvalidOverflowValue,
InvalidOrder,
MissingOrder,
MissingInflator,
MissingFeature(&'static str),
MissingPriority,
MissingResponse,
ChannelClosed,
MissingSignature,
MissingSignatureInfo,
MissingEncryptionInfo,
InvalidNonceLength(ReceivedExpectedError<usize, usize>),
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
Secret material was unavailable
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
ChannelClosed
Channel closed: the receiving end was dropped before the send
MissingSignature
Signature is missing
MissingSignatureInfo
Signature info is missing
MissingEncryptionInfo
Missing Encryption Info
InvalidNonceLength(ReceivedExpectedError<usize, usize>)
AEAD nonce length does not match the cipher’s nonce size
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
impl Debug for TightBeamError
Source§impl Display for TightBeamError
impl Display for TightBeamError
Source§impl Error for TightBeamError
impl Error for TightBeamError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl From<AddrParseError> for TightBeamError
impl From<AddrParseError> for TightBeamError
Source§fn from(err: AddrParseError) -> Self
fn from(err: AddrParseError) -> Self
Source§impl From<BuildError> for TightBeamError
Available on crate feature builder only.
impl From<BuildError> for TightBeamError
builder only.Source§fn from(err: BuildError) -> Self
fn from(err: BuildError) -> Self
Source§impl From<CertificateValidationError> for TightBeamError
Available on crate feature x509 only.
impl From<CertificateValidationError> for TightBeamError
x509 only.Source§fn from(err: CertificateValidationError) -> Self
fn from(err: CertificateValidationError) -> Self
Source§impl From<CompressionError> for TightBeamError
Available on crate feature compress only.
impl From<CompressionError> for TightBeamError
compress only.Source§fn from(err: CompressionError) -> Self
fn from(err: CompressionError) -> Self
Source§impl From<CryptoPolicyError> for TightBeamError
Available on crate feature crypto only.
impl From<CryptoPolicyError> for TightBeamError
crypto only.Source§fn from(err: CryptoPolicyError) -> Self
fn from(err: CryptoPolicyError) -> Self
Source§impl From<EciesError> for TightBeamError
Available on crate feature ecies only.
impl From<EciesError> for TightBeamError
ecies only.Source§fn from(err: EciesError) -> Self
fn from(err: EciesError) -> Self
Source§impl From<Error> for TightBeamError
Available on crate feature std only.
impl From<Error> for TightBeamError
std only.Source§impl From<Error> for TightBeamError
Available on crate feature signature only.
impl From<Error> for TightBeamError
signature only.Source§impl From<Error> for TightBeamError
Available on crate feature signature only.
impl From<Error> for TightBeamError
signature only.Source§impl From<Error> for TightBeamError
impl From<Error> for TightBeamError
Source§impl From<Error> for TightBeamError
Available on crate feature aead only.
impl From<Error> for TightBeamError
aead only.Source§impl From<Error> for TightBeamError
Available on crate feature random only.
impl From<Error> for TightBeamError
random only.Source§impl From<Error> for TightBeamError
Available on crate feature x509 only.
impl From<Error> for TightBeamError
x509 only.Source§impl From<Error> for TightBeamError
Available on crate feature builder only.
impl From<Error> for TightBeamError
builder only.Source§impl From<FromUtf8Error> for TightBeamError
impl From<FromUtf8Error> for TightBeamError
Source§fn from(err: FromUtf8Error) -> Self
fn from(err: FromUtf8Error) -> Self
Source§impl From<HandshakeError> for TightBeamError
Available on crate feature transport only.
impl From<HandshakeError> for TightBeamError
transport only.Source§fn from(err: HandshakeError) -> Self
fn from(err: HandshakeError) -> Self
Source§impl From<HiveError> for TightBeamError
Available on crate feature colony only.
impl From<HiveError> for TightBeamError
colony only.Source§impl From<InvalidLength> for TightBeamError
Available on crate feature aead only.
impl From<InvalidLength> for TightBeamError
aead only.Source§fn from(err: InvalidLength) -> Self
fn from(err: InvalidLength) -> Self
Source§impl From<KdfError> for TightBeamError
Available on crate feature kdf only.
impl From<KdfError> for TightBeamError
kdf only.Source§impl From<KeyError> for TightBeamError
Available on crate feature crypto only.
impl From<KeyError> for TightBeamError
crypto only.Source§impl From<MatrixError> for TightBeamError
impl From<MatrixError> for TightBeamError
Source§fn from(err: MatrixError) -> Self
fn from(err: MatrixError) -> Self
Source§impl<T> From<PoisonError<T>> for TightBeamError
Available on crate feature std only.
impl<T> From<PoisonError<T>> for TightBeamError
std only.Source§fn from(_: PoisonError<T>) -> Self
fn from(_: PoisonError<T>) -> Self
Source§impl From<RouterError> for TightBeamError
Available on crate feature router only.
impl From<RouterError> for TightBeamError
router only.Source§fn from(err: RouterError) -> Self
fn from(err: RouterError) -> Self
Source§impl From<SecretError> for TightBeamError
Available on crate feature crypto only.
impl From<SecretError> for TightBeamError
crypto only.Source§fn from(err: SecretError) -> Self
fn from(err: SecretError) -> Self
Source§impl From<StandardError> for TightBeamError
Available on crate feature standards only.
impl From<StandardError> for TightBeamError
standards only.Source§fn from(err: StandardError) -> Self
fn from(err: StandardError) -> Self
Source§impl From<TestingError> for TightBeamError
Available on crate feature testing only.
impl From<TestingError> for TightBeamError
testing only.Source§fn from(err: TestingError) -> Self
fn from(err: TestingError) -> Self
Source§impl From<TightBeamError> for ClusterError
impl From<TightBeamError> for ClusterError
Source§fn from(err: TightBeamError) -> Self
fn from(err: TightBeamError) -> Self
Source§impl From<TightBeamError> for HiveError
impl From<TightBeamError> for HiveError
Source§fn from(e: TightBeamError) -> Self
fn from(e: TightBeamError) -> Self
Source§impl From<TightBeamError> for TransportError
Narrows TightBeamError into TransportError;
variants without a transport counterpart collapse to TransportError::InvalidMessage.
impl From<TightBeamError> for TransportError
Narrows TightBeamError into TransportError;
variants without a transport counterpart collapse to TransportError::InvalidMessage.
Source§fn from(err: TightBeamError) -> Self
fn from(err: TightBeamError) -> Self
Source§impl From<TightBeamError> for HandshakeError
Narrows TightBeamError into HandshakeError;
variants without a handshake counterpart collapse to HandshakeError::InvalidState.
impl From<TightBeamError> for HandshakeError
Narrows TightBeamError into HandshakeError;
variants without a handshake counterpart collapse to HandshakeError::InvalidState.
Source§fn from(err: TightBeamError) -> Self
fn from(err: TightBeamError) -> Self
Source§impl From<TransportError> for TightBeamError
Available on crate feature transport only.
impl From<TransportError> for TightBeamError
transport only.Source§fn from(err: TransportError) -> Self
fn from(err: TransportError) -> Self
Source§impl From<UrnValidationError> for TightBeamError
impl From<UrnValidationError> for TightBeamError
Source§fn from(err: UrnValidationError) -> Self
fn from(err: UrnValidationError) -> Self
Source§impl From<WorkerRelayError> for TightBeamError
Available on crate feature colony only.
impl From<WorkerRelayError> for TightBeamError
colony only.Source§fn from(err: WorkerRelayError) -> Self
fn from(err: WorkerRelayError) -> Self
Auto Trait Implementations§
impl !RefUnwindSafe for TightBeamError
impl !UnwindSafe for TightBeamError
impl Freeze for TightBeamError
impl Send for TightBeamError
impl Sync for TightBeamError
impl Unpin for TightBeamError
impl UnsafeUnpin for TightBeamError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> InjectedError for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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