Enum ext_php_rs::class::ConstructorResult [−][src]
pub enum ConstructorResult<T> {
Ok(T),
Exception(PhpException),
ArgError,
}
Expand description
Result returned from a constructor of a class.
Variants
Ok(T)
Successfully constructed the class, contains the new class object.
Exception(PhpException)
Tuple Fields
0: PhpException
An exception occured while constructing the class.
ArgError
Invalid arguments were given to the constructor.