pub enum JavaMigrationContractError {
InvalidField(&'static str),
UnsupportedClientTopology(&'static str),
AmbiguousCodec {
codec_id: String,
},
UnsupportedSerializer(&'static str),
LegacySerializerBridgeDisabled(String),
InvalidManifest(&'static str),
UnsupportedManifestVersion {
actual: u16,
supported: u16,
},
}Expand description
Java migration contract errors.
Variants§
InvalidField(&'static str)
A field is missing or invalid.
UnsupportedClientTopology(&'static str)
Application JVM member mode is unsupported in release 0.49.
AmbiguousCodec
Codec id is ambiguous.
UnsupportedSerializer(&'static str)
Serializer kind is unsupported.
LegacySerializerBridgeDisabled(String)
Legacy serializer bridge is disabled by default.
InvalidManifest(&'static str)
Manifest is malformed.
UnsupportedManifestVersion
Manifest version is newer than this library supports.
Trait Implementations§
Source§impl Clone for JavaMigrationContractError
impl Clone for JavaMigrationContractError
Source§fn clone(&self) -> JavaMigrationContractError
fn clone(&self) -> JavaMigrationContractError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 JavaMigrationContractError
impl Debug for JavaMigrationContractError
Source§impl Display for JavaMigrationContractError
impl Display for JavaMigrationContractError
impl Eq for JavaMigrationContractError
Source§impl Error for JavaMigrationContractError
impl Error for JavaMigrationContractError
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 PartialEq for JavaMigrationContractError
impl PartialEq for JavaMigrationContractError
Source§fn eq(&self, other: &JavaMigrationContractError) -> bool
fn eq(&self, other: &JavaMigrationContractError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for JavaMigrationContractError
Auto Trait Implementations§
impl Freeze for JavaMigrationContractError
impl RefUnwindSafe for JavaMigrationContractError
impl Send for JavaMigrationContractError
impl Sync for JavaMigrationContractError
impl Unpin for JavaMigrationContractError
impl UnsafeUnpin for JavaMigrationContractError
impl UnwindSafe for JavaMigrationContractError
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