pub enum IpldCodec {
Raw,
DagCbor,
DagJson,
DagPb,
}
Expand description
Default codecs.
Variants§
Trait Implementations§
Source§impl Codec for IpldCodec
impl Codec for IpldCodec
Source§impl From<DagCborCodec> for IpldCodec
impl From<DagCborCodec> for IpldCodec
Source§fn from(_: DagCborCodec) -> Self
fn from(_: DagCborCodec) -> Self
Converts to this type from the input type.
Source§impl From<DagJsonCodec> for IpldCodec
impl From<DagJsonCodec> for IpldCodec
Source§fn from(_: DagJsonCodec) -> Self
fn from(_: DagJsonCodec) -> Self
Converts to this type from the input type.
Source§impl From<DagPbCodec> for IpldCodec
impl From<DagPbCodec> for IpldCodec
Source§fn from(_: DagPbCodec) -> Self
fn from(_: DagPbCodec) -> Self
Converts to this type from the input type.
Source§impl From<IpldCodec> for DagCborCodec
impl From<IpldCodec> for DagCborCodec
Source§impl From<IpldCodec> for DagJsonCodec
impl From<IpldCodec> for DagJsonCodec
Source§impl From<IpldCodec> for DagPbCodec
impl From<IpldCodec> for DagPbCodec
Source§impl References<IpldCodec> for Ipld
impl References<IpldCodec> for Ipld
impl Copy for IpldCodec
impl Eq for IpldCodec
impl StructuralPartialEq for IpldCodec
Auto Trait Implementations§
impl Freeze for IpldCodec
impl RefUnwindSafe for IpldCodec
impl Send for IpldCodec
impl Sync for IpldCodec
impl Unpin for IpldCodec
impl UnwindSafe for IpldCodec
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