pub enum DiscoveryPublicationFrameError {
Encryption(DiscoveryPublicationEncryptionError),
EncryptionOutputLength {
actual: usize,
expected: usize,
},
AppDataTooLong {
actual: usize,
maximum: usize,
},
}Variants§
Trait Implementations§
Source§impl Clone for DiscoveryPublicationFrameError
impl Clone for DiscoveryPublicationFrameError
Source§fn clone(&self) -> DiscoveryPublicationFrameError
fn clone(&self) -> DiscoveryPublicationFrameError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DiscoveryPublicationFrameError
impl Eq for DiscoveryPublicationFrameError
impl StructuralPartialEq for DiscoveryPublicationFrameError
Auto Trait Implementations§
impl Freeze for DiscoveryPublicationFrameError
impl RefUnwindSafe for DiscoveryPublicationFrameError
impl Send for DiscoveryPublicationFrameError
impl Sync for DiscoveryPublicationFrameError
impl Unpin for DiscoveryPublicationFrameError
impl UnsafeUnpin for DiscoveryPublicationFrameError
impl UnwindSafe for DiscoveryPublicationFrameError
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