pub enum TopicLogSyncError {
Sync(LogSyncError),
TopicMap(String),
UnexpectedProtocolMessage(String),
Channel(TopicLogSyncChannelError),
UnexpectedStreamClosure,
DecodeMessage(String),
}Expand description
Error type occurring in topic log sync protocol.
Variants§
Sync(LogSyncError)
TopicMap(String)
UnexpectedProtocolMessage(String)
Channel(TopicLogSyncChannelError)
UnexpectedStreamClosure
DecodeMessage(String)
Trait Implementations§
Source§impl Debug for TopicLogSyncError
impl Debug for TopicLogSyncError
Source§impl Display for TopicLogSyncError
impl Display for TopicLogSyncError
Source§impl Error for TopicLogSyncError
impl Error for TopicLogSyncError
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<LogSyncError> for TopicLogSyncError
impl From<LogSyncError> for TopicLogSyncError
Source§fn from(source: LogSyncError) -> Self
fn from(source: LogSyncError) -> Self
Converts to this type from the input type.
Source§impl From<TopicLogSyncChannelError> for TopicLogSyncError
impl From<TopicLogSyncChannelError> for TopicLogSyncError
Source§fn from(source: TopicLogSyncChannelError) -> Self
fn from(source: TopicLogSyncChannelError) -> Self
Converts to this type from the input type.
Source§impl From<TopicLogSyncError> for TopicSyncManagerError
impl From<TopicLogSyncError> for TopicSyncManagerError
Source§fn from(source: TopicLogSyncError) -> Self
fn from(source: TopicLogSyncError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TopicLogSyncError
impl !RefUnwindSafe for TopicLogSyncError
impl Send for TopicLogSyncError
impl Sync for TopicLogSyncError
impl Unpin for TopicLogSyncError
impl !UnwindSafe for TopicLogSyncError
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