Enum blaze_ssl_async::stream::StreamMode
source · pub enum StreamMode {
Server,
Client,
}
Expand description
Mode to use when starting the handshake. Server mode will handshake as the server entity and client will handshake as a client entity
Variants
Server
Client
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for StreamMode
impl Send for StreamMode
impl Sync for StreamMode
impl Unpin for StreamMode
impl UnwindSafe for StreamMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more