pub struct ProtocolArgs {
pub namespace: String,
pub version: u32,
pub span: Span,
}Expand description
Arguments of #[bern::protocol(namespace = "…", version = N)].
Fields§
§namespace: String§version: u32§span: SpanTrait Implementations§
Source§impl Clone for ProtocolArgs
impl Clone for ProtocolArgs
Auto Trait Implementations§
impl !Send for ProtocolArgs
impl !Sync for ProtocolArgs
impl Freeze for ProtocolArgs
impl RefUnwindSafe for ProtocolArgs
impl Unpin for ProtocolArgs
impl UnsafeUnpin for ProtocolArgs
impl UnwindSafe for ProtocolArgs
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