pub(crate) struct HandshakeInitiator {
ciphersuite: CipherSuite,
state: HandshakeState,
}Fields§
§ciphersuite: CipherSuite§state: HandshakeStateImplementations§
Source§impl HandshakeInitiator
impl HandshakeInitiator
pub(crate) fn new(ciphersuite: &CipherSuite) -> Self
pub(crate) fn write_start_message( &mut self, ) -> Result<HandshakeStartMessage, WriteError>
pub(crate) fn read_response_message( &mut self, message: &HandshakeFinishMessage, ) -> Result<(), ReadError>
Trait Implementations§
Source§impl From<&mut HandshakeInitiator> for PersistentTransportState
impl From<&mut HandshakeInitiator> for PersistentTransportState
Source§fn from(initiator: &mut HandshakeInitiator) -> Self
fn from(initiator: &mut HandshakeInitiator) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HandshakeInitiator
impl !RefUnwindSafe for HandshakeInitiator
impl Send for HandshakeInitiator
impl Sync for HandshakeInitiator
impl Unpin for HandshakeInitiator
impl UnsafeUnpin for HandshakeInitiator
impl !UnwindSafe for HandshakeInitiator
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