pub enum MigrationSupport {
Enabled,
Disabled,
}
Variants§
Trait Implementations§
source§impl Clone for MigrationSupport
impl Clone for MigrationSupport
source§fn clone(&self) -> MigrationSupport
fn clone(&self) -> MigrationSupport
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 MigrationSupport
impl Debug for MigrationSupport
source§impl Default for MigrationSupport
impl Default for MigrationSupport
source§fn default() -> MigrationSupport
fn default() -> MigrationSupport
Returns the “default value” for a type. Read more
source§impl IntoEvent<bool> for &MigrationSupport
impl IntoEvent<bool> for &MigrationSupport
fn into_event(self) -> bool
source§impl PartialEq for MigrationSupport
impl PartialEq for MigrationSupport
source§fn eq(&self, other: &MigrationSupport) -> bool
fn eq(&self, other: &MigrationSupport) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TransportParameter for MigrationSupport
impl TransportParameter for MigrationSupport
§type CodecValue = ()
type CodecValue = ()
Associated type for decoding/encoding the TransportParameter
source§fn from_codec_value(_value: ()) -> Self
fn from_codec_value(_value: ()) -> Self
Create a
TransportParameter
from the CodecValuesource§fn try_into_codec_value(&self) -> Option<&()>
fn try_into_codec_value(&self) -> Option<&()>
Attempts to convert the
TransportParameter
into the CodecValue
source§fn default_value() -> Self
fn default_value() -> Self
Returns the default value for the TransportParameter
This is used instead of
Default::default
so it is
easily overridablesource§impl TransportParameterValidator for MigrationSupport
impl TransportParameterValidator for MigrationSupport
source§fn validate(self) -> Result<Self, DecoderError>
fn validate(self) -> Result<Self, DecoderError>
Validates that the transport parameter is in a valid state
impl Copy for MigrationSupport
impl StructuralPartialEq for MigrationSupport
Auto Trait Implementations§
impl Freeze for MigrationSupport
impl RefUnwindSafe for MigrationSupport
impl Send for MigrationSupport
impl Sync for MigrationSupport
impl Unpin for MigrationSupport
impl UnwindSafe for MigrationSupport
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