pub enum ProtocolTurnOptionsError {
MissingSchemaVersion {
expected: u32,
},
UnsupportedSchemaVersion {
actual: u32,
expected: u32,
},
InvalidSchemaVersion {
actual: String,
expected: u32,
},
Decode(Error),
}Variants§
Trait Implementations§
Source§impl Debug for ProtocolTurnOptionsError
impl Debug for ProtocolTurnOptionsError
Source§impl Display for ProtocolTurnOptionsError
impl Display for ProtocolTurnOptionsError
Source§impl Error for ProtocolTurnOptionsError
impl Error for ProtocolTurnOptionsError
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 !RefUnwindSafe for ProtocolTurnOptionsError
impl !UnwindSafe for ProtocolTurnOptionsError
impl Freeze for ProtocolTurnOptionsError
impl Send for ProtocolTurnOptionsError
impl Sync for ProtocolTurnOptionsError
impl Unpin for ProtocolTurnOptionsError
impl UnsafeUnpin for ProtocolTurnOptionsError
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