Skip to main content

ReplyOutcome

Type Alias ReplyOutcome 

Source
pub type ReplyOutcome = Result<Vec<u8>, RemoteExceptionCode>;
Expand description

Reply-Payload an den wartenden Caller. Ok(bytes)RemoteExceptionCode::Ok mit user-payload-bytes; Err(code) ⇒ Server-Side-Exception ohne Payload.

Aliased Type§

pub enum ReplyOutcome {
    Ok(Vec<u8>),
    Err(RemoteExceptionCode),
}

Variants§

§1.0.0

Ok(Vec<u8>)

Contains the success value

§1.0.0

Err(RemoteExceptionCode)

Contains the error value