pub fn signature(&self) -> Result<Vec<u8>, Error> {
        match *self {
            Compact::Decoded { .. } => Err(Error::UnsupportedOperation),
            Compact::Encoded(ref compact) => compact.part(2),
        }
    }
/// Get a copy of the signature
Get a copy of the signature
Get a copy of the signature
pub fn signature(&self) -> Result<Vec<u8>, Error> {
        match *self {
            Compact::Decoded { .. } => Err(Error::UnsupportedOperation),
            Compact::Encoded(ref compact) => compact.part(2),
        }
    }
pub fn signature ( & self ) -> Result < Vec < u8 > , Error > { match * self { Compact :: Decoded { .. } => Err ( Error :: UnsupportedOperation ) , Compact :: Encoded ( ref compact ) => compact . part ( 2 ) , } }
Get a copy of the signature
Get a copy of the signature
&self
&self