download_msg

Function download_msg 

Source
pub(crate) async fn download_msg(
    context: &Context,
    rfc724_mid: String,
    session: &mut Session,
) -> Result<Option<()>>
Expand description

Actually downloads a message partially downloaded before if the message is available on the session transport, in which case returns Some. If the message is available on another transport, returns None.

Most messages are downloaded automatically on fetch instead.