pub enum InitialMessage {
Startup(StartupMessage),
CancelRequest(CancelRequest),
SslRequest,
Gssenc,
}Expand description
Initial message which client sends at the beginning of a handshake process.
Variants§
Implementations§
Source§impl InitialMessage
impl InitialMessage
pub async fn from( buffer: &mut Cursor<Vec<u8>>, ) -> Result<InitialMessage, ProtocolError>
Auto Trait Implementations§
impl Freeze for InitialMessage
impl RefUnwindSafe for InitialMessage
impl Send for InitialMessage
impl Sync for InitialMessage
impl Unpin for InitialMessage
impl UnsafeUnpin for InitialMessage
impl UnwindSafe for InitialMessage
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