pub enum CommType {
PerUnit,
Percent,
Absolute,
PercentageWaived4,
PercentageWaived5,
PointsPerBondOrContract,
}
Variants
PerUnit
Percent
Absolute
PercentageWaived4
PercentageWaived5
PointsPerBondOrContract
Implementations
Trait Implementations
sourceimpl TryFrom<u8> for CommType
impl TryFrom<u8> for CommType
type Error = SessionRejectReason
type Error = SessionRejectReason
The type returned in the event of a conversion error.
impl Copy for CommType
impl Eq for CommType
impl StructuralEq for CommType
impl StructuralPartialEq for CommType
Auto Trait Implementations
impl RefUnwindSafe for CommType
impl Send for CommType
impl Sync for CommType
impl Unpin for CommType
impl UnwindSafe for CommType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more