FromDelimited
Mojo trait 🡭
FromDelimited
Create an instance of Self
from the iterator over Span[UInt8]
bytes.
Implemented traits
AnyType
, Copyable
, Movable
, UnknownDestructibility
Methods
➕ ➖__copyinit__
@staticmethod
fn __copyinit__(out self: _Self, existing: _Self, /)
Create a new instance of the value by copying an existing one.
Args:
- existing (
_Self
): The value to copy. - self (
_Self
)
Returns:
_Self
__moveinit__
@staticmethod
fn __moveinit__(out self: _Self, var existing: _Self, /)
Create a new instance of the value by moving the value of another.
Args:
- existing (
_Self
): The value to move. - self (
_Self
)
Returns:
_Self
from_delimited
@staticmethod
fn from_delimited(mut data: SplitIterator[origin], header_values: Optional[List[String]] = Optional(None)) -> _Self
Details
Args:
- data (
SplitIterator
) - header_values (
Optional
)
Returns:
_Self
Raises: