pub enum CodeType {
Sms,
Call,
FlashCall,
MissedCall,
FragmentSms,
}Expand description
Variants§
Trait Implementations§
Source§impl Deserializable for CodeType
impl Deserializable for CodeType
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<CodeTypeCall> for CodeType
impl From<CodeTypeCall> for CodeType
Source§fn from(_x: CodeTypeCall) -> Self
fn from(_x: CodeTypeCall) -> Self
Converts to this type from the input type.
Source§impl From<CodeTypeFlashCall> for CodeType
impl From<CodeTypeFlashCall> for CodeType
Source§fn from(_x: CodeTypeFlashCall) -> Self
fn from(_x: CodeTypeFlashCall) -> Self
Converts to this type from the input type.
Source§impl From<CodeTypeFragmentSms> for CodeType
impl From<CodeTypeFragmentSms> for CodeType
Source§fn from(_x: CodeTypeFragmentSms) -> Self
fn from(_x: CodeTypeFragmentSms) -> Self
Converts to this type from the input type.
Source§impl From<CodeTypeMissedCall> for CodeType
impl From<CodeTypeMissedCall> for CodeType
Source§fn from(_x: CodeTypeMissedCall) -> Self
fn from(_x: CodeTypeMissedCall) -> Self
Converts to this type from the input type.
Source§impl From<CodeTypeSms> for CodeType
impl From<CodeTypeSms> for CodeType
Source§fn from(_x: CodeTypeSms) -> Self
fn from(_x: CodeTypeSms) -> Self
Converts to this type from the input type.
Source§impl Serializable for CodeType
impl Serializable for CodeType
impl StructuralPartialEq for CodeType
Auto Trait Implementations§
impl Freeze for CodeType
impl RefUnwindSafe for CodeType
impl Send for CodeType
impl Sync for CodeType
impl Unpin for CodeType
impl UnsafeUnpin for CodeType
impl UnwindSafe for CodeType
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