pub struct RenewSessionErrorResponse { /* private fields */ }Expand description
Error body returned when the daemon rejects a session renew request.
Implementations§
Source§impl RenewSessionErrorResponse
impl RenewSessionErrorResponse
pub fn unknown_session(session_id: SessionId) -> Self
pub fn code(&self) -> RenewSessionErrorCode
pub fn session_id(&self) -> &SessionId
Trait Implementations§
Source§impl Clone for RenewSessionErrorResponse
impl Clone for RenewSessionErrorResponse
Source§fn clone(&self) -> RenewSessionErrorResponse
fn clone(&self) -> RenewSessionErrorResponse
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 RenewSessionErrorResponse
impl Debug for RenewSessionErrorResponse
Source§impl<'de> Deserialize<'de> for RenewSessionErrorResponse
impl<'de> Deserialize<'de> for RenewSessionErrorResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for RenewSessionErrorResponse
impl Display for RenewSessionErrorResponse
impl Eq for RenewSessionErrorResponse
impl StructuralPartialEq for RenewSessionErrorResponse
Auto Trait Implementations§
impl Freeze for RenewSessionErrorResponse
impl RefUnwindSafe for RenewSessionErrorResponse
impl Send for RenewSessionErrorResponse
impl Sync for RenewSessionErrorResponse
impl Unpin for RenewSessionErrorResponse
impl UnsafeUnpin for RenewSessionErrorResponse
impl UnwindSafe for RenewSessionErrorResponse
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