[−][src]Enum lair_keystore_api::LairError
Keystore Error Type.
Variants
GhostError(GhostError)
An error generated from the GhostActor system.
Trying to start up Lair process, but a pidfile/process already exists
Failure to establish client connection to Lair IPC.
A public key was provided (e.g. for signing) that cannot be found in the keystore
Aead(String)
Error during aead encryption, likely bad data.
BlockPad(String)
Error adding padding to encrypt data.
BlockUnpad(String)
Error removing padding from decrypted data.
Nonce byte lengths did not line up internally. Always very bad.
X25519 pub key lengths did not line up internally. Always very bad.
X25519 priv key lengths did not line up internally. Always very bad.
Unspecified Internal error.
Implementations
impl LairError
[src]
pub fn other(e: impl Into<Box<dyn Error + Send + Sync>>) -> Self
[src]
Build an "Other" type LairError.
Trait Implementations
impl Debug for LairError
[src]
impl Display for LairError
[src]
impl Error for LairError
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl<'_> From<&'_ str> for LairError
[src]
impl From<Error> for LairError
[src]
impl From<GhostError> for LairError
[src]
pub fn from(source: GhostError) -> Self
[src]
impl From<LairError> for ()
[src]
impl From<PadError> for LairError
[src]
impl From<String> for LairError
[src]
impl From<UnpadError> for LairError
[src]
pub fn from(error: UnpadError) -> Self
[src]
Auto Trait Implementations
impl !RefUnwindSafe for LairError
[src]
impl Send for LairError
[src]
impl Sync for LairError
[src]
impl Unpin for LairError
[src]
impl !UnwindSafe for LairError
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> FutureExt for T
pub fn with_context(self, otel_cx: Context) -> WithContext<Self>
pub fn with_current_context(self) -> WithContext<Self>
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,