pub enum Request {
RequestIdentities,
SignRequest {
key_blob: Vec<u8>,
data: Vec<u8>,
flags: u32,
},
}Expand description
A parsed client request — only the two opcodes kovra answers. Everything else is rejected before this type is constructed.
Variants§
RequestIdentities
SSH_AGENTC_REQUEST_IDENTITIES — enumerate identities (no body).
SignRequest
SSH_AGENTC_SIGN_REQUEST — sign data with the key whose public blob is
key_blob, honoring the SIGN flags.
Trait Implementations§
impl Eq for Request
impl StructuralPartialEq for Request
Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnsafeUnpin for Request
impl UnwindSafe for Request
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