enum BobHandshakeMsg {
Request,
RequestWithAuth,
}
Expand description
Identifies the SecureJoin handshake messages Bob can send.
Variants§
Implementations§
source§impl BobHandshakeMsg
impl BobHandshakeMsg
sourcefn body_text(&self, invite: &QrInvite) -> String
fn body_text(&self, invite: &QrInvite) -> String
Returns the text to send in the body of the handshake message.
This text has no significance to the protocol, but would be visible if users see this email message directly, e.g. when accessing their email without using DeltaChat.
sourcefn securejoin_header(&self, invite: &QrInvite) -> &'static str
fn securejoin_header(&self, invite: &QrInvite) -> &'static str
Returns the Secure-Join
header value.
This identifies the step this message is sending information about. Most protocol
steps include additional information into other headers, see
BobState::send_handshake_message
for these.
Auto Trait Implementations§
impl Freeze for BobHandshakeMsg
impl RefUnwindSafe for BobHandshakeMsg
impl Send for BobHandshakeMsg
impl Sync for BobHandshakeMsg
impl Unpin for BobHandshakeMsg
impl UnwindSafe for BobHandshakeMsg
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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