pub struct QueryResponse {
pub extensions: Vec<String>,
}
Expand description
query
message extension.
An optional extension request “query” is defined to allow a client to query which, if any, extensions are supported by an agent.
Described in draft-miller-ssh-agent-14 § 3.8.1
Fields§
§extensions: Vec<String>
List of supported message extension names
Trait Implementations§
Source§impl Clone for QueryResponse
impl Clone for QueryResponse
Source§fn clone(&self) -> QueryResponse
fn clone(&self) -> QueryResponse
Returns a copy of the value. Read more
1.0.0 · 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 QueryResponse
impl Debug for QueryResponse
Source§impl Decode for QueryResponse
impl Decode for QueryResponse
Source§impl Encode for QueryResponse
impl Encode for QueryResponse
Source§fn encoded_len(&self) -> Result<usize, EncodingError>
fn encoded_len(&self) -> Result<usize, EncodingError>
Get the length of this type encoded in bytes, prior to Base64 encoding.
Source§fn encode(&self, writer: &mut impl Writer) -> Result<(), EncodingError>
fn encode(&self, writer: &mut impl Writer) -> Result<(), EncodingError>
Encode this value using the provided
Writer
.Source§fn encoded_len_prefixed(&self) -> Result<usize, Error>
fn encoded_len_prefixed(&self) -> Result<usize, Error>
Return the length of this type after encoding when prepended with a
uint32
length prefix.Source§fn encode_prefixed(&self, writer: &mut impl Writer) -> Result<(), Error>
fn encode_prefixed(&self, writer: &mut impl Writer) -> Result<(), Error>
Encode this value, first prepending a
uint32
length prefix
set to Encode::encoded_len
.Source§impl MessageExtension for QueryResponse
impl MessageExtension for QueryResponse
Source§impl PartialEq for QueryResponse
impl PartialEq for QueryResponse
impl StructuralPartialEq for QueryResponse
Auto Trait Implementations§
impl Freeze for QueryResponse
impl RefUnwindSafe for QueryResponse
impl Send for QueryResponse
impl Sync for QueryResponse
impl Unpin for QueryResponse
impl UnwindSafe for QueryResponse
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