pub struct Wallet<'a> { /* private fields */ }Expand description
WALLET record data: a public wallet address, TXT format (IANA
template “WALLET/wallet-completed-template”).
Implementations§
Trait Implementations§
Source§impl ComposeRdata for Wallet<'_>
impl ComposeRdata for Wallet<'_>
impl<'a> Copy for Wallet<'a>
impl<'a> Eq for Wallet<'a>
Source§impl<'a> ParseRdata<'a> for Wallet<'a>
impl<'a> ParseRdata<'a> for Wallet<'a>
Source§fn parse_rdata(rdata: &mut WireReader<'a>) -> Result<Self>
fn parse_rdata(rdata: &mut WireReader<'a>) -> Result<Self>
Parses RDATA from
rdata, a reader whose window is exactly the
record’s RDATA (RDLENGTH bytes) but which can still follow
compression pointers into the whole message. Read moreSource§impl ParseRdataText for Wallet<'_>
impl ParseRdataText for Wallet<'_>
Source§fn parse_text<B: OutBuf + ?Sized>(
s: &mut Scanner<'_>,
out: &mut B,
) -> Result<()>
fn parse_text<B: OutBuf + ?Sized>( s: &mut Scanner<'_>, out: &mut B, ) -> Result<()>
One or more <character-string>s, quoted or not, as TXT
(RFC 1035 §3.3.14, §5.1).
Source§fn from_text<'b>(text: &str, buf: &'b mut [u8]) -> Result<Self>where
Self: ParseRdata<'b>,
fn from_text<'b>(text: &str, buf: &'b mut [u8]) -> Result<Self>where
Self: ParseRdata<'b>,
Parses standalone presentation-format RDATA (relative names are
completed with the root; newlines are blanks) into
buf and
returns a view over it. The RFC 3597 generic form
\# <length> <hex> is accepted too. Read moreimpl<'a> StructuralPartialEq for Wallet<'a>
Auto Trait Implementations§
impl<'a> Freeze for Wallet<'a>
impl<'a> RefUnwindSafe for Wallet<'a>
impl<'a> Send for Wallet<'a>
impl<'a> Sync for Wallet<'a>
impl<'a> Unpin for Wallet<'a>
impl<'a> UnsafeUnpin for Wallet<'a>
impl<'a> UnwindSafe for Wallet<'a>
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