pub enum StreamTag {
Message,
Push,
Rekey,
Finish,
}
Expand description
Tag that indicates the type of message.
Variants
Message
A message with no special meaning.
Push
Marks that the message is the end of a set of messages. Allows the decrypting site to start working with this data.
Rekey
Derives a new secret key and forgets the one used for earlier encryption/decryption operations.
Finish
Indicates the end of a stream. Also does a rekey.
Implementations
Trait Implementations
impl Copy for StreamTag
Auto Trait Implementations
impl RefUnwindSafe for StreamTag
impl Send for StreamTag
impl Sync for StreamTag
impl Unpin for StreamTag
impl UnwindSafe for StreamTag
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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