pub enum SessionControlError {
Session(SessionError),
InvalidRequest {
message: String,
},
Conflict {
id: SessionId,
key: String,
},
}Expand description
Errors returned by session control-plane mutation methods.
Variants§
Session(SessionError)
A lifecycle/session-store error occurred while handling the control request.
InvalidRequest
The control request was malformed.
Conflict
The idempotency key was replayed with different request content.
Implementations§
Trait Implementations§
Source§impl Debug for SessionControlError
impl Debug for SessionControlError
Source§impl Display for SessionControlError
impl Display for SessionControlError
Source§impl Error for SessionControlError
impl Error for SessionControlError
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<SessionError> for SessionControlError
impl From<SessionError> for SessionControlError
Source§fn from(source: SessionError) -> Self
fn from(source: SessionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SessionControlError
impl !RefUnwindSafe for SessionControlError
impl Send for SessionControlError
impl Sync for SessionControlError
impl Unpin for SessionControlError
impl UnsafeUnpin for SessionControlError
impl !UnwindSafe for SessionControlError
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