pub struct Node { /* private fields */ }Expand description
A struct representing a Galaxy db data node.
Implementations§
Source§impl Node
impl Node
Sourcepub fn content(&self) -> Result<String, PyErr>
pub fn content(&self) -> Result<String, PyErr>
Gets the content of this Node as a Result<String, PyErr>.
Galaxy encourages module implementations of Nodes to be lazy, so this may cause an IO operation.
Sourcepub fn match_data(&self) -> Result<String, PyErr>
pub fn match_data(&self) -> Result<String, PyErr>
Gets the match data of this Node as a Result<String, PyErr>.
Galaxy encourages module implementations of Nodes to be lazy, so this may cause an IO operation.
Sourcepub fn parsed_data(&self) -> Result<NodeData, PyErr>
pub fn parsed_data(&self) -> Result<NodeData, PyErr>
Gets the parsed data of this Node as a Result<NodeData, PyErr>.
Galaxy encourages module implementations of Nodes to be lazy, so this may cause an IO operation.
Auto Trait Implementations§
impl Freeze for Node
impl !RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnwindSafe for Node
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more