Skip to main content

get

Function get 

Source
pub async fn get<T: AsyncRead + AsyncWrite + Unpin>(
    client: &mut MapClient<T>,
    handle: String,
) -> Result<LiveBody>
Expand description

Fetches one message body live by handle and normalizes it to a LiveBody.

direction is derived from the bMessage folder (containing sent/outbox โ‡’ Direction::Sent); the address is the originator for received messages and the first recipient for sent. No timestamp โ€” a BMessage carries no datetime. No store access.

ยงErrors

Returns an error if the MAP GetMessage fails.