Type Alias postcard::Result

source ·
pub type Result<T> = Result<T, Error>;
Expand description

This is the Result type used by Postcard.

Aliased Type§

enum Result<T> {
    Ok(T),
    Err(Error),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Error)

Contains the error value

Trait Implementations§

source§

impl<T: MaxSize, E: MaxSize> MaxSize for Result<T, E>

source§

const POSTCARD_MAX_SIZE: usize = _

The maximum possible size that the serialization of this type can have, in bytes.
source§

impl<T: Schema, E: Schema> Schema for Result<T, E>

source§

const SCHEMA: &'static NamedType = _

A recursive data structure that describes the schema of the given type.