pub enum NoForward {}
Expand description
A place holder to mark RaftError won’t have a ForwardToLeader variant.
Trait Implementations§
source§impl<'de> Deserialize<'de> for NoForward
impl<'de> Deserialize<'de> for NoForward
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 Error for NoForward
impl Error for NoForward
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 PartialEq for NoForward
impl PartialEq for NoForward
impl Eq for NoForward
impl StructuralPartialEq for NoForward
Auto Trait Implementations§
impl Freeze for NoForward
impl RefUnwindSafe for NoForward
impl Send for NoForward
impl Sync for NoForward
impl Unpin for NoForward
impl UnwindSafe for NoForward
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