pub enum CellosResponse {
Value {
value: String,
},
Ok,
Err {
error: String,
},
}Expand description
Responses from the daemon over TSAFE_SOCKET.
Variants§
Value
Successful resolution — plaintext secret value.
Ok
Successful acknowledgment (used by RevokeForCell).
Err
Typed error — error describes the rejection reason.
Trait Implementations§
Source§impl Debug for CellosResponse
impl Debug for CellosResponse
Source§impl<'de> Deserialize<'de> for CellosResponse
impl<'de> Deserialize<'de> for CellosResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CellosResponse
impl RefUnwindSafe for CellosResponse
impl Send for CellosResponse
impl Sync for CellosResponse
impl Unpin for CellosResponse
impl UnsafeUnpin for CellosResponse
impl UnwindSafe for CellosResponse
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