pub enum RegisterError {
InvalidClientKeyLength(usize),
InvalidUpstreamKeyLength(usize),
ClientKeyCollision,
}Expand description
Validation or collision failure while registering a cancellation mapping.
Variants§
InvalidClientKeyLength(usize)
Client-facing secret length was outside PostgreSQL’s accepted range.
InvalidUpstreamKeyLength(usize)
Upstream secret length was outside PostgreSQL’s accepted range.
ClientKeyCollision
The client-facing key already names another live mapping.
Trait Implementations§
Source§impl Clone for RegisterError
impl Clone for RegisterError
Source§fn clone(&self) -> RegisterError
fn clone(&self) -> RegisterError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RegisterError
impl Debug for RegisterError
impl Eq for RegisterError
Source§impl PartialEq for RegisterError
impl PartialEq for RegisterError
impl StructuralPartialEq for RegisterError
Auto Trait Implementations§
impl Freeze for RegisterError
impl RefUnwindSafe for RegisterError
impl Send for RegisterError
impl Sync for RegisterError
impl Unpin for RegisterError
impl UnsafeUnpin for RegisterError
impl UnwindSafe for RegisterError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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