pub enum ReadEvent {
Noop,
ReadVault,
ReadSecret(SecretId),
}Expand description
Read operations.
Variants§
Noop
Default variant, should never be used.
We need a variant so we can implement the Default trait which is required for decoding.
ReadVault
Event used to indicate that a vault was read.
ReadSecret(SecretId)
Event used to indicate that a secret has been read.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ReadEvent
impl<'de> Deserialize<'de> for ReadEvent
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
impl Eq for ReadEvent
impl StructuralPartialEq for ReadEvent
Auto Trait Implementations§
impl Freeze for ReadEvent
impl RefUnwindSafe for ReadEvent
impl Send for ReadEvent
impl Sync for ReadEvent
impl Unpin for ReadEvent
impl UnwindSafe for ReadEvent
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