Trait librsnek::api::method::BytesCast
[−]
[src]
pub trait BytesCast {
fn op_bytes(&self, &Runtime) -> Result<RtObject, Error> { ... }
fn native_bytes(&self) -> Result<Bytes, Error> { ... }
}
Provided Methods
fn op_bytes(&self, &Runtime) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_bytes(&self) -> Result<Bytes, Error>
Native API Method $pyname
Implementors
impl BytesCast for RtObjectimpl BytesCast for WeakRtObjectimpl BytesCast for Typeimpl BytesCast for RefCountedValue<BoolValue, RefCount>impl BytesCast for RefCountedValue<StringValue, RefCount>impl BytesCast for RefCountedValue<CodeValue, RefCount>impl BytesCast for RefCountedValue<ComplexValue, RefCount>impl BytesCast for RefCountedValue<DictValue, RefCount>impl BytesCast for RefCountedValue<FloatValue, RefCount>impl BytesCast for RefCountedValue<FrameValue, RefCount>impl BytesCast for RefCountedValue<FrozenSetValue, RefCount>impl BytesCast for RefCountedValue<IntValue, RefCount>impl BytesCast for RefCountedValue<IteratorValue, RefCount>impl BytesCast for RefCountedValue<ListValue, RefCount>impl BytesCast for RefCountedValue<FuncValue, RefCount>impl BytesCast for RefCountedValue<NoneValue, RefCount>impl BytesCast for RefCountedValue<ObjectValue, RefCount>impl BytesCast for RefCountedValue<TypeValue, RefCount>impl BytesCast for RefCountedValue<SetValue, RefCount>impl BytesCast for RefCountedValue<StringValue, RefCount>impl BytesCast for RefCountedValue<TupleValue, RefCount>