pub fn from_bytes(bytes: Vec<u8>) -> Result<Message, String> {
        match deserialize(&bytes) {
            Ok(msg) => Ok(msg),
            Err(e) => Err(format!("{:?}", e))
        }
    }
/// A convenience function for deserializing a message
/// from Bincode
A convenience function for deserializing a message
from Bincode
A convenience function for deserializing a message from Bincode
pub fn from_bytes(bytes: Vec<u8>) -> Result<Message, String> {
        match deserialize(&bytes) {
            Ok(msg) => Ok(msg),
            Err(e) => Err(format!("{:?}", e))
        }
    }
pub fn from_bytes ( bytes : Vec < u8 > ) -> Result < Message , String > { match deserialize ( & bytes ) { Ok ( msg ) => Ok ( msg ) , Err ( e ) => Err ( format ! ( " " e ) ) } }
A convenience function for deserializing a message
from Bincode
A convenience function for deserializing a message from Bincode
bytes
Vec<u8>
bytes
Vec<u8>