pub struct TaintSecret {
pub source: String,
pub host: Option<String>,
}Expand description
Where secret material in a session came from.
Fields§
§source: StringWhat brought it in, for reasons (read /Users/me/.ssh/id_rsa).
host: Option<String>The one host the secret belongs to and may still go to. None for a
file read: it belongs to no host, so every host asks. The secrets
broker (ADR-020) raises a Secret with its own host when a brokered
value is used, so later requests to other hosts ask.
Trait Implementations§
impl Eq for Secret
impl StructuralPartialEq for Secret
Auto Trait Implementations§
impl Freeze for Secret
impl RefUnwindSafe for Secret
impl Send for Secret
impl Sync for Secret
impl Unpin for Secret
impl UnsafeUnpin for Secret
impl UnwindSafe for Secret
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