Struct spin_app::locked::FixedVersion
source · pub struct FixedVersion<const V: usize>;
Expand description
FixedVersion represents a schema version field with a const value.
Trait Implementations§
source§impl<const V: usize> Clone for FixedVersion<V>
impl<const V: usize> Clone for FixedVersion<V>
source§fn clone(&self) -> FixedVersion<V>
fn clone(&self) -> FixedVersion<V>
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<const V: usize> Debug for FixedVersion<V>
impl<const V: usize> Debug for FixedVersion<V>
source§impl<const V: usize> Default for FixedVersion<V>
impl<const V: usize> Default for FixedVersion<V>
source§fn default() -> FixedVersion<V>
fn default() -> FixedVersion<V>
Returns the “default value” for a type. Read more
source§impl<'de, const V: usize> Deserialize<'de> for FixedVersion<V>
impl<'de, const V: usize> Deserialize<'de> for FixedVersion<V>
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<const V: usize> From<FixedVersion<V>> for String
impl<const V: usize> From<FixedVersion<V>> for String
source§fn from(_: FixedVersion<V>) -> String
fn from(_: FixedVersion<V>) -> String
Converts to this type from the input type.
source§impl<const V: usize> From<FixedVersion<V>> for usize
impl<const V: usize> From<FixedVersion<V>> for usize
source§fn from(_: FixedVersion<V>) -> usize
fn from(_: FixedVersion<V>) -> usize
Converts to this type from the input type.
source§impl<const V: usize> Serialize for FixedVersion<V>
impl<const V: usize> Serialize for FixedVersion<V>
Auto Trait Implementations§
impl<const V: usize> RefUnwindSafe for FixedVersion<V>
impl<const V: usize> Send for FixedVersion<V>
impl<const V: usize> Sync for FixedVersion<V>
impl<const V: usize> Unpin for FixedVersion<V>
impl<const V: usize> UnwindSafe for FixedVersion<V>
Blanket Implementations§
§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
Query the “status” flags for the
self
file descriptor.