pub enum PrismSurface {
GeneralPurpose,
Domain {
name: String,
},
BinaryInspection {
carrier: BinaryCarrier,
},
}Expand description
The class of codec surface a Prism is driving.
Variants§
GeneralPurpose
General-purpose expression codec.
Domain
Domain codec that fails closed outside name.
BinaryInspection
Binary frame inspection surface.
Fields
§
carrier: BinaryCarrierHow the bytes are carried.
Trait Implementations§
Source§impl Clone for PrismSurface
impl Clone for PrismSurface
Source§fn clone(&self) -> PrismSurface
fn clone(&self) -> PrismSurface
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PrismSurface
impl Debug for PrismSurface
impl Eq for PrismSurface
Source§impl PartialEq for PrismSurface
impl PartialEq for PrismSurface
Source§fn eq(&self, other: &PrismSurface) -> bool
fn eq(&self, other: &PrismSurface) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PrismSurface
Auto Trait Implementations§
impl Freeze for PrismSurface
impl RefUnwindSafe for PrismSurface
impl Send for PrismSurface
impl Sync for PrismSurface
impl Unpin for PrismSurface
impl UnsafeUnpin for PrismSurface
impl UnwindSafe for PrismSurface
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