pub struct SupervisionKey { /* private fields */ }Expand description
Identifies one supervised session’s status records: the supervisor
writes STROP-SUP-v1 <nonce> ... lines to stderr, and only lines
carrying this session’s nonce are its. Not a secret — it travels
inside the spec and is visible in remote process listings.
Implementations§
Source§impl SupervisionKey
impl SupervisionKey
Sourcepub fn records(&self, stderr: &[u8]) -> Vec<SupervisionOutcome>
pub fn records(&self, stderr: &[u8]) -> Vec<SupervisionOutcome>
Every supervisor record found in a captured stderr buffer, in order. An empty result means the supervision layer never reported; ssh’s exit code is then the only evidence.
Trait Implementations§
Source§impl Clone for SupervisionKey
impl Clone for SupervisionKey
Source§fn clone(&self) -> SupervisionKey
fn clone(&self) -> SupervisionKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SupervisionKey
impl Debug for SupervisionKey
impl Eq for SupervisionKey
Source§impl PartialEq for SupervisionKey
impl PartialEq for SupervisionKey
impl StructuralPartialEq for SupervisionKey
Auto Trait Implementations§
impl Freeze for SupervisionKey
impl RefUnwindSafe for SupervisionKey
impl Send for SupervisionKey
impl Sync for SupervisionKey
impl Unpin for SupervisionKey
impl UnsafeUnpin for SupervisionKey
impl UnwindSafe for SupervisionKey
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