pub enum OtpErlangTerm {
Show 17 variants
OtpErlangInteger(i32),
OtpErlangFloat(Float),
OtpErlangAtom(Vec<u8>),
OtpErlangAtomUTF8(Vec<u8>),
OtpErlangAtomCacheRef(u8),
OtpErlangAtomBool(bool),
OtpErlangString(Vec<u8>),
OtpErlangBinary(Vec<u8>),
OtpErlangBinaryBits(Vec<u8>, u8),
OtpErlangList(Vec<OtpErlangTerm>),
OtpErlangListImproper(Vec<OtpErlangTerm>),
OtpErlangTuple(Vec<OtpErlangTerm>),
OtpErlangMap(BTreeMap<OtpErlangTerm, OtpErlangTerm>),
OtpErlangPid(Pid),
OtpErlangPort(Port),
OtpErlangReference(Reference),
OtpErlangFunction(Function),
}Expand description
Erlang term representation
Variants§
OtpErlangInteger(i32)
OtpErlangFloat(Float)
OtpErlangAtom(Vec<u8>)
OtpErlangAtomUTF8(Vec<u8>)
OtpErlangAtomCacheRef(u8)
OtpErlangAtomBool(bool)
OtpErlangString(Vec<u8>)
OtpErlangBinary(Vec<u8>)
OtpErlangBinaryBits(Vec<u8>, u8)
OtpErlangList(Vec<OtpErlangTerm>)
OtpErlangListImproper(Vec<OtpErlangTerm>)
OtpErlangTuple(Vec<OtpErlangTerm>)
OtpErlangMap(BTreeMap<OtpErlangTerm, OtpErlangTerm>)
OtpErlangPid(Pid)
OtpErlangPort(Port)
OtpErlangReference(Reference)
OtpErlangFunction(Function)
Trait Implementations§
Source§impl Clone for OtpErlangTerm
impl Clone for OtpErlangTerm
Source§fn clone(&self) -> OtpErlangTerm
fn clone(&self) -> OtpErlangTerm
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 moreSource§impl Debug for OtpErlangTerm
impl Debug for OtpErlangTerm
Source§impl Hash for OtpErlangTerm
impl Hash for OtpErlangTerm
Source§impl Ord for OtpErlangTerm
impl Ord for OtpErlangTerm
Source§fn cmp(&self, other: &OtpErlangTerm) -> Ordering
fn cmp(&self, other: &OtpErlangTerm) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OtpErlangTerm
impl PartialEq for OtpErlangTerm
Source§impl PartialOrd for OtpErlangTerm
impl PartialOrd for OtpErlangTerm
impl Eq for OtpErlangTerm
impl StructuralPartialEq for OtpErlangTerm
Auto Trait Implementations§
impl Freeze for OtpErlangTerm
impl RefUnwindSafe for OtpErlangTerm
impl Send for OtpErlangTerm
impl Sync for OtpErlangTerm
impl Unpin for OtpErlangTerm
impl UnwindSafe for OtpErlangTerm
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