pub enum StateVisibilityError {
UnsupportedVersion(u8),
Codec(String),
EmptyTierLabel(&'static str),
}Expand description
Errors produced while encoding/decoding/validating state visibility.
Variants§
Trait Implementations§
Source§impl Debug for StateVisibilityError
impl Debug for StateVisibilityError
Source§impl Display for StateVisibilityError
impl Display for StateVisibilityError
Source§impl Error for StateVisibilityError
impl Error for StateVisibilityError
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 Freeze for StateVisibilityError
impl RefUnwindSafe for StateVisibilityError
impl Send for StateVisibilityError
impl Sync for StateVisibilityError
impl Unpin for StateVisibilityError
impl UnsafeUnpin for StateVisibilityError
impl UnwindSafe for StateVisibilityError
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