#[non_exhaustive]pub enum TurnStreamError {
Turn(TurnWaitError),
}Expand description
Why a turn stream could not deliver its next element.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Turn(TurnWaitError)
The turn wait ended without a server-authored outcome.
Trait Implementations§
Source§impl Clone for TurnStreamError
impl Clone for TurnStreamError
Source§impl Debug for TurnStreamError
impl Debug for TurnStreamError
Source§impl Display for TurnStreamError
impl Display for TurnStreamError
impl Eq for TurnStreamError
Source§impl Error for TurnStreamError
impl Error for TurnStreamError
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<TurnWaitError> for TurnStreamError
impl From<TurnWaitError> for TurnStreamError
Source§fn from(source: TurnWaitError) -> Self
fn from(source: TurnWaitError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TurnStreamError
impl PartialEq for TurnStreamError
impl StructuralPartialEq for TurnStreamError
Auto Trait Implementations§
impl Freeze for TurnStreamError
impl RefUnwindSafe for TurnStreamError
impl Send for TurnStreamError
impl Sync for TurnStreamError
impl Unpin for TurnStreamError
impl UnsafeUnpin for TurnStreamError
impl UnwindSafe for TurnStreamError
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