Trait ofx::IdentifiedEnum

source ·
pub trait IdentifiedEnum: Sized {
    fn to_bytes(&self) -> &'static [u8] ;
    fn from_bytes(ofx_name: &[u8]) -> Option<Self>;

    fn from_cstring(ofx_value: &CStr) -> Option<Self> { ... }
    fn as_ptr(&self) -> *const u8 { ... }
}

Required Methods

Provided Methods

Implementors