pub struct ProtocolFrame {
pub format: MessageFormat,
pub semantics: Vec<SemanticRule>,
/* private fields */
}Expand description
Runtime protocol frame that can wrap/unwrap data
Fields§
§format: MessageFormatThe message format to use
semantics: Vec<SemanticRule>Semantic rules for this format
Implementations§
Source§impl ProtocolFrame
impl ProtocolFrame
Trait Implementations§
Source§impl Clone for ProtocolFrame
impl Clone for ProtocolFrame
Source§fn clone(&self) -> ProtocolFrame
fn clone(&self) -> ProtocolFrame
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ProtocolFrame
impl RefUnwindSafe for ProtocolFrame
impl Send for ProtocolFrame
impl Sync for ProtocolFrame
impl Unpin for ProtocolFrame
impl UnwindSafe for ProtocolFrame
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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