pub struct RealtimeSessionResumeError<M, S, R, C> { /* private fields */ }Expand description
Failed resumption retaining full released state for retry or disposal.
Implementations§
Source§impl<M, S, R, C> RealtimeSessionResumeError<M, S, R, C>
impl<M, S, R, C> RealtimeSessionResumeError<M, S, R, C>
Sourcepub const fn reason(&self) -> &RealtimeSessionError
pub const fn reason(&self) -> &RealtimeSessionError
Stable reason resumption was rejected.
Sourcepub fn into_released(self) -> ReleasedRealtimeSession<M, S, R, C>
pub fn into_released(self) -> ReleasedRealtimeSession<M, S, R, C>
Recovers the unchanged released state.
Trait Implementations§
Source§impl<M, S, R, C> Debug for RealtimeSessionResumeError<M, S, R, C>
impl<M, S, R, C> Debug for RealtimeSessionResumeError<M, S, R, C>
Source§impl<M, S, R, C> Display for RealtimeSessionResumeError<M, S, R, C>
impl<M, S, R, C> Display for RealtimeSessionResumeError<M, S, R, C>
Source§impl<M, S, R, C> Error for RealtimeSessionResumeError<M, S, R, C>
impl<M, S, R, C> Error for RealtimeSessionResumeError<M, S, R, C>
1.30.0 · 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()
Auto Trait Implementations§
impl<M, S, R, C> Freeze for RealtimeSessionResumeError<M, S, R, C>
impl<M, S, R, C> RefUnwindSafe for RealtimeSessionResumeError<M, S, R, C>
impl<M, S, R, C> Send for RealtimeSessionResumeError<M, S, R, C>
impl<M, S, R, C> Sync for RealtimeSessionResumeError<M, S, R, C>
impl<M, S, R, C> Unpin for RealtimeSessionResumeError<M, S, R, C>
impl<M, S, R, C> UnsafeUnpin for RealtimeSessionResumeError<M, S, R, C>
impl<M, S, R, C> UnwindSafe for RealtimeSessionResumeError<M, S, R, C>
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