pub enum ReclaimError {
InvalidString,
TooLarge,
ConnectFailed,
UnsupportedLibrary,
Reconnecting,
Rejected,
ServiceError,
TooManyResults,
Closed,
Runtime(RuntimeError),
}Expand description
Ошибки работы с сервисом RECLAIM.
Variants§
InvalidString
В строке есть нулевой байт.
TooLarge
Атрибут или свидетельство не помещается в одно сообщение.
ConnectFailed
Не удалось подключиться к сервису.
UnsupportedLibrary
Установленная клиентская библиотека RECLAIM устроена не так, как ожидает обёртка: вероятно, это другая версия GNUnet.
Reconnecting
Клиент сейчас переподключается к сервису; операцию нужно повторить позже.
Rejected
Сервис отклонил запрос.
ServiceError
Сервис сообщил об ошибке при перечислении.
TooManyResults
Записей больше 16384.
Closed
Подключение закрыто.
Runtime(RuntimeError)
Поток планировщика остановлен или его очередь переполнена.
Trait Implementations§
Source§impl Debug for ReclaimError
impl Debug for ReclaimError
Source§impl Display for ReclaimError
impl Display for ReclaimError
Source§impl Error for ReclaimError
impl Error for ReclaimError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<RuntimeError> for ReclaimError
impl From<RuntimeError> for ReclaimError
Source§fn from(source: RuntimeError) -> Self
fn from(source: RuntimeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ReclaimError
impl !UnwindSafe for ReclaimError
impl Freeze for ReclaimError
impl Send for ReclaimError
impl Sync for ReclaimError
impl Unpin for ReclaimError
impl UnsafeUnpin for ReclaimError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more