pub struct ClientHandshake<A, K>{
pub identity: DeviceIdentity,
pub capabilities: CapabilitySet,
pub authenticator: A,
pub key_exchange: K,
pub context: HandshakeContext,
}Expand description
Controller-side handshake driver implementing the ALPINE 1.0 flow.
Fields§
§identity: DeviceIdentity§capabilities: CapabilitySet§authenticator: A§key_exchange: K§context: HandshakeContextTrait Implementations§
Source§impl<A, K> HandshakeParticipant for ClientHandshake<A, K>
impl<A, K> HandshakeParticipant for ClientHandshake<A, K>
fn run<'life0, 'life1, 'async_trait, T>(
&'life0 self,
transport: &'life1 mut T,
) -> Pin<Box<dyn Future<Output = Result<HandshakeOutcome, HandshakeError>> + Send + 'async_trait>>where
T: 'async_trait + HandshakeTransport + Send,
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl<A, K> Freeze for ClientHandshake<A, K>
impl<A, K> RefUnwindSafe for ClientHandshake<A, K>where
A: RefUnwindSafe,
K: RefUnwindSafe,
impl<A, K> Send for ClientHandshake<A, K>
impl<A, K> Sync for ClientHandshake<A, K>
impl<A, K> Unpin for ClientHandshake<A, K>
impl<A, K> UnwindSafe for ClientHandshake<A, K>where
A: UnwindSafe,
K: UnwindSafe,
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