[−][src]Trait librobot::transmission::Jsonizable
Traits utilitaires implémentés par toutes les structures que l'on envoie/récupère du réseau
Required methods
fn from_json_slice(slice: &[u8]) -> Result<Self, DError>
Désérialisation d'un JSON en Servo
fn to_string<B>(&self) -> Result<String<B>, SError> where
B: ArrayLength<u8>,
B: ArrayLength<u8>,
Sérialisation d'un Servo
en JSON
Implementors
impl Jsonizable for IO
[src]
fn from_json_slice(slice: &[u8]) -> Result<Self, DError>
[src]
Désérialisation d'un JSON en Servo
fn to_string<B>(&self) -> Result<String<B>, SError> where
B: ArrayLength<u8>,
[src]
B: ArrayLength<u8>,
Sérialisation d'un Servo
en JSON
impl Jsonizable for Pneumatic
[src]
fn from_json_slice(slice: &[u8]) -> Result<Self, DError>
[src]
Désérialisation d'un JSON en Servo
fn to_string<B>(&self) -> Result<String<B>, SError> where
B: ArrayLength<u8>,
[src]
B: ArrayLength<u8>,
Sérialisation d'un Servo
en JSON
impl Jsonizable for NavigationFrame
[src]
fn from_json_slice(slice: &[u8]) -> Result<Self, DError>
[src]
Construit une trame a partir d'un flux de donnees json.
fn to_string<B>(&self) -> Result<String<B>, SError> where
B: ArrayLength<u8>,
[src]
B: ArrayLength<u8>,
Construit une chaine de caractère en json à partir de cette trame
impl Jsonizable for NavigationParametersFrame
[src]
fn from_json_slice(slice: &[u8]) -> Result<Self, DError>
[src]
Construit une trame a partir d'un flux de donnees json.
fn to_string<B>(&self) -> Result<String<B>, SError> where
B: ArrayLength<u8>,
[src]
B: ArrayLength<u8>,
Construit une chaine de caractère en json à partir de cette trame
impl Jsonizable for Servo
[src]
fn from_json_slice(slice: &[u8]) -> Result<Self, DError>
[src]
Désérialisation d'un JSON en Servo
fn to_string<B>(&self) -> Result<String<B>, SError> where
B: ArrayLength<u8>,
[src]
B: ArrayLength<u8>,
Sérialisation d'un Servo
en JSON