pub enum RnsRpcScalarReply {
Null,
Boolean(bool),
Integer(RnsInteger),
Float(f64),
Binary(Vec<u8>),
String(String),
}Variants§
Implementations§
Source§impl RnsRpcScalarReply
impl RnsRpcScalarReply
pub fn decode_message_pack( bytes: &[u8], ) -> Result<RnsRpcScalarReply, RnsRpcScalarReplyDecodeError>
pub const fn nonnegative_integer(&self) -> Option<u64>
Trait Implementations§
Source§impl Clone for RnsRpcScalarReply
impl Clone for RnsRpcScalarReply
Source§fn clone(&self) -> RnsRpcScalarReply
fn clone(&self) -> RnsRpcScalarReply
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 RnsRpcScalarReply
impl Debug for RnsRpcScalarReply
Source§impl PartialEq for RnsRpcScalarReply
impl PartialEq for RnsRpcScalarReply
impl StructuralPartialEq for RnsRpcScalarReply
Auto Trait Implementations§
impl Freeze for RnsRpcScalarReply
impl RefUnwindSafe for RnsRpcScalarReply
impl Send for RnsRpcScalarReply
impl Sync for RnsRpcScalarReply
impl Unpin for RnsRpcScalarReply
impl UnsafeUnpin for RnsRpcScalarReply
impl UnwindSafe for RnsRpcScalarReply
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