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<'_>> { ... }
}
Required Associated Types§
Required Methods§
fn try_resizable_opt(&self) -> Option<Self::Resizable<'_>>
Provided Methods§
fn try_resizable(&self, vm: &VirtualMachine) -> PyResult<Self::Resizable<'_>>
Object Safety§
This trait is not object safe.