Struct openssh_sftp_protocol::response::ServerVersion
source · [−]pub struct ServerVersion {
pub version: u32,
pub extensions: Extensions,
}
Fields
version: u32
extensions: Extensions
Implementations
sourceimpl ServerVersion
impl ServerVersion
sourcepub fn deserialize<'de, It>(de: &mut Deserializer<'de, It>) -> Result<Self>where
It: FusedIterator + Iterator<Item = &'de [u8]>,
pub fn deserialize<'de, It>(de: &mut Deserializer<'de, It>) -> Result<Self>where
It: FusedIterator + Iterator<Item = &'de [u8]>,
bytes
- should not include the initial 4-byte which server as the length of the whole packet.
Trait Implementations
sourceimpl Clone for ServerVersion
impl Clone for ServerVersion
sourcefn clone(&self) -> ServerVersion
fn clone(&self) -> ServerVersion
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ServerVersion
impl Debug for ServerVersion
impl Copy for ServerVersion
Auto Trait Implementations
impl RefUnwindSafe for ServerVersion
impl Send for ServerVersion
impl Sync for ServerVersion
impl Unpin for ServerVersion
impl UnwindSafe for ServerVersion
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more