[−][src]Trait dsf_core::base::Parse
Parse trait for building parse-able objects
Associated Types
Loading content...Required methods
fn parse(buff: &[u8]) -> Result<(Self::Output, usize), Self::Error>
Parse method consumes a slice and returns an object and the remaining slice.
Implementations on Foreign Types
impl Parse for String
[src]
type Output = String
type Error = IoError
fn parse<'a>(data: &[u8]) -> Result<(Self::Output, usize), Self::Error>
[src]
impl Parse for Vec<u8>
[src]
type Output = Vec<u8>
type Error = IoError
fn parse<'a>(data: &[u8]) -> Result<(Self::Output, usize), Self::Error>
[src]
impl Parse for SystemTime
[src]
type Output = SystemTime
type Error = IoError
fn parse<'a>(data: &'a [u8]) -> Result<(Self::Output, usize), Self::Error>
[src]
impl Parse for SocketAddrV4
[src]
type Output = SocketAddrV4
type Error = OptionsError
fn parse(data: &[u8]) -> Result<(Self::Output, usize), Self::Error>
[src]
impl Parse for SocketAddrV6
[src]
type Output = SocketAddrV6
type Error = OptionsError
fn parse(data: &[u8]) -> Result<(Self::Output, usize), Self::Error>
[src]
Implementors
impl Parse for Options
[src]
Parse parses a control option from the given scope