pub struct Spake2Encrypted { /* private fields */ }Implementations§
Source§impl Spake2Encrypted
impl Spake2Encrypted
pub fn create_server( server_provider: Arc<dyn ServerCredentialProvider>, server_id: String, codec: LengthDelimitedCodec, ) -> Self
pub fn create_client( client_provider: Arc<dyn ClientCredentialProvider>, server_id: String, codec: LengthDelimitedCodec, ) -> Self
Trait Implementations§
Source§impl Clone for Spake2Encrypted
impl Clone for Spake2Encrypted
Source§impl Decoder for Spake2Encrypted
impl Decoder for Spake2Encrypted
Source§fn decode(
&mut self,
src: &mut BytesMut,
) -> Result<Option<Self::Item>, Self::Error>
fn decode( &mut self, src: &mut BytesMut, ) -> Result<Option<Self::Item>, Self::Error>
Attempts to decode a frame from the provided buffer of bytes. Read more
Source§impl Encoder<Bytes> for Spake2Encrypted
impl Encoder<Bytes> for Spake2Encrypted
Auto Trait Implementations§
impl !Freeze for Spake2Encrypted
impl !RefUnwindSafe for Spake2Encrypted
impl Send for Spake2Encrypted
impl Sync for Spake2Encrypted
impl Unpin for Spake2Encrypted
impl UnsafeUnpin for Spake2Encrypted
impl !UnwindSafe for Spake2Encrypted
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