Trait TryLast20Bytes
pub trait TryLast20Bytes {
// Required method
fn try_last_20_bytes(self) -> Result<[u8; 20], BridgeError>;
}Expand description
Fallible version of Last20Bytes.
Required Methods§
fn try_last_20_bytes(self) -> Result<[u8; 20], BridgeError>
fn try_last_20_bytes(self) -> Result<[u8; 20], BridgeError>
Extract the last 20 bytes, or return an error.