Struct openraft::error::ReplicationClosed
source · pub struct ReplicationClosed { /* private fields */ }
Expand description
Replication is closed intentionally.
No further replication action should be taken.
Implementations§
Trait Implementations§
source§impl Clone for ReplicationClosed
impl Clone for ReplicationClosed
source§fn clone(&self) -> ReplicationClosed
fn clone(&self) -> ReplicationClosed
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ReplicationClosed
impl Debug for ReplicationClosed
source§impl<'de> Deserialize<'de> for ReplicationClosed
impl<'de> Deserialize<'de> for ReplicationClosed
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 Display for ReplicationClosed
impl Display for ReplicationClosed
source§impl Error for ReplicationClosed
impl Error for ReplicationClosed
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()
source§impl<C: RaftTypeConfig, E: Error> From<ReplicationClosed> for StreamingError<C, E>
impl<C: RaftTypeConfig, E: Error> From<ReplicationClosed> for StreamingError<C, E>
source§fn from(source: ReplicationClosed) -> Self
fn from(source: ReplicationClosed) -> Self
Converts to this type from the input type.
source§impl PartialEq for ReplicationClosed
impl PartialEq for ReplicationClosed
source§impl Serialize for ReplicationClosed
impl Serialize for ReplicationClosed
impl Eq for ReplicationClosed
impl StructuralPartialEq for ReplicationClosed
Auto Trait Implementations§
impl Freeze for ReplicationClosed
impl RefUnwindSafe for ReplicationClosed
impl Send for ReplicationClosed
impl Sync for ReplicationClosed
impl Unpin for ReplicationClosed
impl UnwindSafe for ReplicationClosed
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)