MessageNumber

Enum MessageNumber 

Source
#[repr(u8)]
pub enum MessageNumber {
Show 30 variants SSH_MSG_DISCONNECT = 1, SSH_MSG_IGNORE = 2, SSH_MSG_UNIMPLEMENTED = 3, SSH_MSG_DEBUG = 4, SSH_MSG_SERVICE_REQUEST = 5, SSH_MSG_SERVICE_ACCEPT = 6, SSH_MSG_EXT_INFO = 7, SSH_MSG_KEXINIT = 20, SSH_MSG_NEWKEYS = 21, SSH_MSG_KEXDH_INIT = 30, SSH_MSG_KEXDH_REPLY = 31, SSH_MSG_USERAUTH_REQUEST = 50, SSH_MSG_USERAUTH_FAILURE = 51, SSH_MSG_USERAUTH_SUCCESS = 52, SSH_MSG_USERAUTH_BANNER = 53, SSH_MSG_USERAUTH_60 = 60, SSH_MSG_GLOBAL_REQUEST = 80, SSH_MSG_REQUEST_SUCCESS = 81, SSH_MSG_REQUEST_FAILURE = 82, SSH_MSG_CHANNEL_OPEN = 90, SSH_MSG_CHANNEL_OPEN_CONFIRMATION = 91, SSH_MSG_CHANNEL_OPEN_FAILURE = 92, SSH_MSG_CHANNEL_WINDOW_ADJUST = 93, SSH_MSG_CHANNEL_DATA = 94, SSH_MSG_CHANNEL_EXTENDED_DATA = 95, SSH_MSG_CHANNEL_EOF = 96, SSH_MSG_CHANNEL_CLOSE = 97, SSH_MSG_CHANNEL_REQUEST = 98, SSH_MSG_CHANNEL_SUCCESS = 99, SSH_MSG_CHANNEL_FAILURE = 100,
}

Variants§

§

SSH_MSG_DISCONNECT = 1

§

SSH_MSG_IGNORE = 2

§

SSH_MSG_UNIMPLEMENTED = 3

§

SSH_MSG_DEBUG = 4

§

SSH_MSG_SERVICE_REQUEST = 5

§

SSH_MSG_SERVICE_ACCEPT = 6

§

SSH_MSG_EXT_INFO = 7

§

SSH_MSG_KEXINIT = 20

§

SSH_MSG_NEWKEYS = 21

§

SSH_MSG_KEXDH_INIT = 30

§

SSH_MSG_KEXDH_REPLY = 31

§

SSH_MSG_USERAUTH_REQUEST = 50

§

SSH_MSG_USERAUTH_FAILURE = 51

§

SSH_MSG_USERAUTH_SUCCESS = 52

§

SSH_MSG_USERAUTH_BANNER = 53

§

SSH_MSG_USERAUTH_60 = 60

§

SSH_MSG_GLOBAL_REQUEST = 80

§

SSH_MSG_REQUEST_SUCCESS = 81

§

SSH_MSG_REQUEST_FAILURE = 82

§

SSH_MSG_CHANNEL_OPEN = 90

§

SSH_MSG_CHANNEL_OPEN_CONFIRMATION = 91

§

SSH_MSG_CHANNEL_OPEN_FAILURE = 92

§

SSH_MSG_CHANNEL_WINDOW_ADJUST = 93

§

SSH_MSG_CHANNEL_DATA = 94

§

SSH_MSG_CHANNEL_EXTENDED_DATA = 95

§

SSH_MSG_CHANNEL_EOF = 96

§

SSH_MSG_CHANNEL_CLOSE = 97

§

SSH_MSG_CHANNEL_REQUEST = 98

§

SSH_MSG_CHANNEL_SUCCESS = 99

§

SSH_MSG_CHANNEL_FAILURE = 100

Trait Implementations§

Source§

impl Debug for MessageNumber

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl TryFrom<u8> for MessageNumber

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(v: u8) -> Result<Self>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.