Created
November 11, 2017 10:22
-
-
Save gregsifr/6bdcc23c540d63dd5ffdb441fb452d94 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
loop { | |
for message in client.incoming_messages() { | |
match message { | |
OwnedMessage::Text(data) => data, | |
_ => None, | |
}; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment