pub struct Vtl2Settings {
pub fixed: Vtl2SettingsFixed,
pub dynamic: Vtl2SettingsDynamic,
}
Fields§
§fixed: Vtl2SettingsFixed
Static settings which cannot be updated during runtime
dynamic: Vtl2SettingsDynamic
Dynamic settings
Implementations§
Source§impl Vtl2Settings
impl Vtl2Settings
Sourcepub fn read_from(
data: &[u8],
old_settings: Vtl2Settings,
) -> Result<Vtl2Settings, ParseError>
pub fn read_from( data: &[u8], old_settings: Vtl2Settings, ) -> Result<Vtl2Settings, ParseError>
Reads the settings from either a JSON- or protobuf-encoded schema.
Trait Implementations§
Source§impl Clone for Vtl2Settings
impl Clone for Vtl2Settings
Source§fn clone(&self) -> Vtl2Settings
fn clone(&self) -> Vtl2Settings
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 Vtl2Settings
impl Debug for Vtl2Settings
Source§impl Default for Vtl2Settings
impl Default for Vtl2Settings
Source§fn default() -> Vtl2Settings
fn default() -> Vtl2Settings
Returns the “default value” for a type. Read more
Source§impl DefaultEncoding for Vtl2Settings
impl DefaultEncoding for Vtl2Settings
Source§impl<'encoding> StructDecodeMetadata<'encoding, Resource> for Vtl2Settings
impl<'encoding> StructDecodeMetadata<'encoding, Resource> for Vtl2Settings
Source§impl StructEncodeMetadata<Resource> for Vtl2Settings
impl StructEncodeMetadata<Resource> for Vtl2Settings
Auto Trait Implementations§
impl Freeze for Vtl2Settings
impl RefUnwindSafe for Vtl2Settings
impl Send for Vtl2Settings
impl Sync for Vtl2Settings
impl Unpin for Vtl2Settings
impl UnwindSafe for Vtl2Settings
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> MeshField for T
impl<T> MeshField for T
§impl<T> MeshPayload for T
impl<T> MeshPayload for T
§impl<T> SerializeMessage for Twhere
T: 'static + MeshPayload + Send,
impl<T> SerializeMessage for Twhere
T: 'static + MeshPayload + Send,
§fn compute_message_size(&mut self, sizer: MessageSizer<'_>)
fn compute_message_size(&mut self, sizer: MessageSizer<'_>)
Computes the message size, as in [
MessageEncode::compute_message_size
].§fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
Writes the message, as in [
MessageEncode::write_message
].