pub trait BigArray<'de>: Sized {
    // Required methods
    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
       where S: Serializer;
    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
       where D: Deserializer<'de>;
}

Required Methods§

source

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>where S: Serializer,

source

fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where D: Deserializer<'de>,

Implementations on Foreign Types§

source§

impl<'de, T> BigArray<'de> for [T; 64]where T: Default + Copy + Serialize + Deserialize<'de>,

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>where S: Serializer,

source§

fn deserialize<D>(deserializer: D) -> Result<[T; 64], D::Error>where D: Deserializer<'de>,

source§

impl<'de, T> BigArray<'de> for [T; 33]where T: Default + Copy + Serialize + Deserialize<'de>,

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>where S: Serializer,

source§

fn deserialize<D>(deserializer: D) -> Result<[T; 33], D::Error>where D: Deserializer<'de>,

source§

impl<'de, T> BigArray<'de> for [T; 65]where T: Default + Copy + Serialize + Deserialize<'de>,

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>where S: Serializer,

source§

fn deserialize<D>(deserializer: D) -> Result<[T; 65], D::Error>where D: Deserializer<'de>,

Implementors§