#include <folly/MacAddress.h>
#include <cassert>
#include <ostream>
#include <folly/Exception.h>
#include <folly/Format.h>
#include <folly/IPAddressV6.h>
#include <folly/String.h>
invalid_argument;
string;
namespace folly {
const MacAddress MacAddress::BROADCAST{ … };
const MacAddress MacAddress::ZERO;
MacAddress::MacAddress(StringPiece str) { … }
MacAddress MacAddress::createMulticast(IPAddressV6 v6addr) { … }
string MacAddress::toString() const { … }
Expected<Unit, MacAddressFormatError> MacAddress::trySetFromString(
StringPiece value) { … }
void MacAddress::setFromString(StringPiece value) { … }
Expected<Unit, MacAddressFormatError> MacAddress::trySetFromBinary(
ByteRange value) { … }
void MacAddress::setFromBinary(ByteRange value) { … }
template <typename OnError>
Expected<Unit, MacAddressFormatError> MacAddress::setFromString(
StringPiece str, OnError err) { … }
template <typename OnError>
Expected<Unit, MacAddressFormatError> MacAddress::setFromBinary(
ByteRange value, OnError err) { … }
std::ostream& operator<<(std::ostream& os, MacAddress address) { … }
}