ContentCodec
public protocol ContentCodec : Hashable
Undocumented
-
Undocumented
Declaration
Swift
associatedtype T -
Undocumented
Declaration
Swift
var contentType: ContentTypeID { get } -
Undocumented
Declaration
Swift
func encode(content: T) throws -> EncodedContent -
Undocumented
Declaration
Swift
func decode(content: EncodedContent) throws -> T -
Undocumented
Declaration
Swift
func fallback(content: T) throws -> String? -
Undocumented
Declaration
Swift
func shouldPush(content: T) throws -> Bool -
==(_:Extension method_: ) Declaration
Swift
static func == (lhs: Self, rhs: Self) -> Bool -
idExtension methodUndocumented
Declaration
Swift
var id: String { get } -
hash(into:Extension method) Declaration
Swift
func hash(into hasher: inout Hasher) -
descriptionExtension methodUndocumented
Declaration
Swift
var description: String { get }
ContentCodec Protocol Reference