pub enum FormValue {
Normal(String),
Secret(Arc<SecureString>),
}Expand description
Sensitivity-aware payload stored by a form field.
Variants§
Normal(String)
Non-secret UTF-8 value held as an ordinary string.
Secret(Arc<SecureString>)
Secret UTF-8 value held in shared secure memory.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FormValue
impl RefUnwindSafe for FormValue
impl Send for FormValue
impl Sync for FormValue
impl Unpin for FormValue
impl UnsafeUnpin for FormValue
impl UnwindSafe for FormValue
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