Searched refs:BufferTooShortError (Results 1 – 4 of 4) sorted by relevance
37 pub type Result<T> = std::result::Result<T, BufferTooShortError>;43 pub struct BufferTooShortError; struct45 impl std::fmt::Display for BufferTooShortError { implementation51 impl std::error::Error for BufferTooShortError { implementation63 return Err(BufferTooShortError);93 return Err(BufferTooShortError);183 return Err(BufferTooShortError); in get_varint()208 return Err(BufferTooShortError); in get_bytes()248 return Err(BufferTooShortError); in peek_bytes()262 return Err(BufferTooShortError); in slice()[all …]
405 impl std::convert::From<octets::BufferTooShortError> for Error {406 fn from(_err: octets::BufferTooShortError) -> Self { in from()
73 impl std::convert::From<crate::octets::BufferTooShortError> for Error {74 fn from(_err: crate::octets::BufferTooShortError) -> Self { in from()
398 impl std::convert::From<octets::BufferTooShortError> for Error {399 fn from(_err: octets::BufferTooShortError) -> Self { in from()