pub enum AppConfig {
NotModified,
AppConfig(AppConfig),
}Expand description
Variants§
Trait Implementations§
Source§impl Deserializable for AppConfig
impl Deserializable for AppConfig
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<AppConfigNotModified> for AppConfig
impl From<AppConfigNotModified> for AppConfig
Source§fn from(_x: AppConfigNotModified) -> Self
fn from(_x: AppConfigNotModified) -> Self
Converts to this type from the input type.
Source§impl Serializable for AppConfig
impl Serializable for AppConfig
impl StructuralPartialEq for AppConfig
Auto Trait Implementations§
impl Freeze for AppConfig
impl RefUnwindSafe for AppConfig
impl Send for AppConfig
impl Sync for AppConfig
impl Unpin for AppConfig
impl UnsafeUnpin for AppConfig
impl UnwindSafe for AppConfig
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