pub trait PointExt: Point {
Show 30 methods // Provided methods fn fields(&self) -> PointFields<'_> { ... } fn point_header(&self) -> PointHeader { ... } fn is_datapoint(&self) -> bool { ... } fn is_linkpoint(&self) -> bool { ... } fn is_keypoint(&self) -> bool { ... } fn as_datapoint(&self) -> Option<&[u8]> { ... } fn as_linkpoint(&self) -> Option<LinkPoint<'_>> { ... } fn as_keypoint(&self) -> Option<(LinkPoint<'_>, Signed)> { ... } fn group(&self) -> Option<&B64> { ... } fn get_group(&self) -> &B64 { ... } fn domain(&self) -> Option<&AB<[u8; 16]>> { ... } fn get_domain(&self) -> &AB<[u8; 16]> { ... } fn create_stamp(&self) -> Option<&U64> { ... } fn get_create_stamp(&self) -> &U64 { ... } fn signature(&self) -> Option<&B64<[u8; 64]>> { ... } fn get_signature(&self) -> &B64<[u8; 64]> { ... } fn pubkey(&self) -> Option<&B64> { ... } fn get_pubkey(&self) -> &B64 { ... } fn rooted_spacename(&self) -> Option<&RootedSpaceBytes<[u8]>> { ... } fn spacename(&self) -> Option<&SpaceBytes<[u8]>> { ... } fn links(&self) -> Option<&[Link]> { ... } fn depth(&self) -> Option<&u8> { ... } fn get_depth(&self) -> &u8 { ... } fn get_rooted_spacename(&self) -> &RootedSpaceBytes<[u8]> { ... } fn get_spacename(&self) -> &SpaceBytes<[u8]> { ... } fn get_data_str(&self) -> Result<&str, Utf8Error> { ... } fn get_links(&self) -> &[Link] { ... } fn select(&self) -> SelectLink<'_> { ... } fn compute_hash(&self) -> B64 { ... } fn check_private(&self) -> Result<(), Error> { ... }
}
Expand description

Directly access a Point’s domain, group, links, publickey, etc.

Provided Methods§

fn fields(&self) -> PointFields<'_>

fn point_header(&self) -> PointHeader

fn is_datapoint(&self) -> bool

fn is_linkpoint(&self) -> bool

fn is_keypoint(&self) -> bool

fn as_datapoint(&self) -> Option<&[u8]>

fn as_linkpoint(&self) -> Option<LinkPoint<'_>>

fn as_keypoint(&self) -> Option<(LinkPoint<'_>, Signed)>

fn group(&self) -> Option<&B64>

fn get_group(&self) -> &B64

fn domain(&self) -> Option<&AB<[u8; 16]>>

fn get_domain(&self) -> &AB<[u8; 16]>

fn create_stamp(&self) -> Option<&U64>

fn get_create_stamp(&self) -> &U64

fn signature(&self) -> Option<&B64<[u8; 64]>>

fn get_signature(&self) -> &B64<[u8; 64]>

fn pubkey(&self) -> Option<&B64>

fn get_pubkey(&self) -> &B64

fn rooted_spacename(&self) -> Option<&RootedSpaceBytes<[u8]>>

fn spacename(&self) -> Option<&SpaceBytes<[u8]>>

fn depth(&self) -> Option<&u8>

fn get_depth(&self) -> &u8

fn get_rooted_spacename(&self) -> &RootedSpaceBytes<[u8]>

fn get_spacename(&self) -> &SpaceBytes<[u8]>

fn get_data_str(&self) -> Result<&str, Utf8Error>

fn select(&self) -> SelectLink<'_>

fn compute_hash(&self) -> B64

fn check_private(&self) -> Result<(), Error>

Implementors§

§

impl<T> PointExt for Twhere T: Point + ?Sized,