Trait rustpython_vm::protocol::BufferResizeGuard
source · pub trait BufferResizeGuard {
type Resizable<'a>: 'a
where Self: 'a;
// Required method
fn try_resizable_opt(&self) -> Option<Self::Resizable<'_>>;
// Provided method
fn try_resizable(
&self,
vm: &VirtualMachine
) -> PyResult<Self::Resizable<'_>> { ... }
}