Struct docker_pyo3::volume::Pyo3Volumes
source · pub struct Pyo3Volumes(pub Volumes);Tuple Fields§
§0: VolumesImplementations§
source§impl Pyo3Volumes
impl Pyo3Volumes
pub fn new(docker: Pyo3Docker) -> Self
pub fn get(&self, name: &str) -> Pyo3Volume
pub fn prune(&self) -> PyResult<Py<PyAny>>
pub fn list(&self) -> PyResult<Py<PyAny>>
pub fn create( &self, name: Option<&str>, driver: Option<&str>, _driver_opts: Option<&PyDict>, _labels: Option<&PyDict> ) -> PyResult<Py<PyAny>>
Trait Implementations§
source§impl Debug for Pyo3Volumes
impl Debug for Pyo3Volumes
source§impl PyClassImpl for Pyo3Volumes
impl PyClassImpl for Pyo3Volumes
source§const IS_BASETYPE: bool = false
const IS_BASETYPE: bool = false
#[pyclass(subclass)]
source§const IS_SUBCLASS: bool = false
const IS_SUBCLASS: bool = false
#[pyclass(extends=…)]
source§const IS_MAPPING: bool = false
const IS_MAPPING: bool = false
#[pyclass(mapping)]
source§const IS_SEQUENCE: bool = false
const IS_SEQUENCE: bool = false
#[pyclass(sequence)]
§type Layout = PyCell<Pyo3Volumes>
type Layout = PyCell<Pyo3Volumes>
Layout
§type ThreadChecker = ThreadCheckerStub<Pyo3Volumes>
type ThreadChecker = ThreadCheckerStub<Pyo3Volumes>
This handles following two situations: Read more
§type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
Immutable or mutable
§type BaseNativeType = PyAny
type BaseNativeType = PyAny
The closest native ancestor. This is
PyAny by default, and when you declare
#[pyclass(extends=PyDict)], it’s PyDict.fn items_iter() -> PyClassItemsIter
fn dict_offset() -> Option<isize>
fn weaklist_offset() -> Option<isize>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a Pyo3Volumes
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a Pyo3Volumes
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut Pyo3Volumes
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut Pyo3Volumes
source§impl PyMethods<Pyo3Volumes> for PyClassImplCollector<Pyo3Volumes>
impl PyMethods<Pyo3Volumes> for PyClassImplCollector<Pyo3Volumes>
fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for Pyo3Volumes
impl PyTypeInfo for Pyo3Volumes
§type AsRefTarget = PyCell<Pyo3Volumes>
type AsRefTarget = PyCell<Pyo3Volumes>
Utility type to make Py::as_ref work.
source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.
source§fn type_object(py: Python<'_>) -> &PyType
fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.
source§fn is_type_of(object: &PyAny) -> bool
fn is_type_of(object: &PyAny) -> bool
Checks if
object is an instance of this type or a subclass of this type.source§fn is_exact_type_of(object: &PyAny) -> bool
fn is_exact_type_of(object: &PyAny) -> bool
Checks if
object is an instance of this type.