[−][src]Enum rsoffkv::result::OffkvError
Rsoffkv errors.
Variants
returned if address given to Client::new
is invalid
(address must be of form <service_name>://<host>:<port>
)
returned if the key given to any function is invalid
key must consist of ASCII characters and be of form (/[^/].+)+
returned when trying to perform an operation requiring key to exist on non-existing entry OR if trying to create new key when its direct parent doesn't exist
returned when trying to perform an operation requiring key to not exist on existing entry
returned when trying to create children for leased node
can be returned from any function if the connection with service was lost
TxnFailed(u32)
returned from commit if the transaction was failed (not all checks are satisfied or any operation failed)
contains an index of failed operation
can be returned from any function in case of some service specific errors
can be returned from any function
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for OffkvError
impl Send for OffkvError
impl Sync for OffkvError
impl Unpin for OffkvError
impl UnwindSafe for OffkvError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,